This commit is contained in:
Alexander Makarov
2014-09-04 03:27:13 +04:00
parent 3af08064b8
commit 00ca1cb4b3
16 changed files with 50 additions and 34 deletions

View File

@@ -267,10 +267,10 @@ class Controller extends \yii\base\Controller
* Note that the values setting via options are not available
* until [[beforeAction()]] is being called.
*
* @param string $actionId the action id of the current request
* @param string $actionID the action id of the current request
* @return array the names of the options valid for the action
*/
public function options($actionId)
public function options($actionID)
{
// $id might be used in subclass to provide options specific to action id
return ['color', 'interactive'];