console\Controller getActionOptionsHelp()

getActionOptionsHelp() public method

Returns the help information for the options for the action.

The returned value should be an array. The keys are the option names, and the values are the corresponding help information. Each value must be an array of the following structure:

  • type: string, the PHP type of this argument.
  • default: string, the default value of this argument
  • comment: string, the comment of this argument

The default implementation will return the help information extracted from the doc-comment of the properties corresponding to the action options.

public array getActionOptionsHelp ( $action )
$action yii\base\Action
return array

The help information of the action options

doc_Yii
2016-10-30 16:54:44
Comments
Leave a Comment

Please login to continue.