console\Controller options()

options() public method

Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name.

Child classes may override this method to specify possible options.

Note that the values setting via options are not available until beforeAction() is being called.

public array options ( $actionID )
$actionID string

The action id of the current request

return array

The names of the options valid for the action

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

Please login to continue.