Solar_Request::_getValue()

protected mixed Solar_Request::_getValue ( string $var , string $key , string $alt )

Common method to get a request value and return it.

Parameters

  • (string) $var: The request variable to fetch from: get, post, etc.

  • (string) $key: The array key, if any, to get the value of.

  • (string) $alt: The alternative default value to return if the requested key does not exist.

Returns

  • (mixed) The requested value, or the alternative default value.

Description

Common method to get a request value and return it.



Local