Solar_Request::argv()

public mixed Solar_Request::argv ( string $key = NULL , string $alt = NULL )

Retrieves an unfiltered value by key from the $argv property, or an alternate default value if that key does not exist.

Parameters

  • (string) $key: The $argv key to retrieve the value of.

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

Returns

  • (mixed) The value of $argv[$key], or the alternate default value.

Description

Retrieves an unfiltered value by key from the $argv property, or an alternate default value if that key does not exist.



Local