getActionArgsHelp() public method
Returns the help information for the anonymous arguments for the action.
The returned value should be an array. The keys are the argument names, and the values are the corresponding help information. Each value must be an array of the following structure:
- required: boolean, whether this argument is required.
- 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 parameters corresponding to the action method.
public array getActionArgsHelp ( $action ) | ||
---|---|---|
$action | yii\base\Action | |
return | array |
The help information of the action arguments |
Please login to continue.