Previous Page
_exception()

Solar_Getopt
_getOptionName()

Next Page
_parseLong()

_getOptionName()

protected string _getOptionName ( string $type, string $value )

Gets an option name from its short or long format.

Parameters

  • (string) $type: Look in the 'long' or 'short' key for option names.
  • (string) $value: The long or short format of the option name.

Returns

  • (string)

Description

Gets an option name from its short or long format.