Solar_App_Hello::_query()

protected mixed Solar_App_Hello::_query ( string $key , mixed $val = 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.



Local