Previous Page
_preRun()

Solar_App_Bookmarks
_query()

Next Page
_redirect()

_query()

protected mixed _query ( string $key, mixed $val default NULL )

Retrieves the TAINTED value of a query request key by name.

Inherited from Solar_Controller_Page.

Parameters

  • (string) $key: The query key.
  • (mixed) $val: If the key does not exist, use this value as a default in its place.

Returns

  • (mixed) The value of that query key.

Description

Retrieves the TAINTED value of a query request key by name.

Note that this value is direct user input; you should sanitize it with Solar_Filter (or some other technique) before using it.