Browse Source

Docs enhancement (#15464) [skip ci]

tags/2.0.16
Sohel Ahmed Mesaniya 6 years ago committed by Alexander Makarov
parent
commit
0fbec30bbc
  1. 2
      framework/base/Controller.php

2
framework/base/Controller.php

@ -211,7 +211,7 @@ class Controller extends Component implements ViewContextInterface
* The method first checks if the action ID has been declared in [[actions()]]. If so,
* it will use the configuration declared there to create the action object.
* If not, it will look for a controller method whose name is in the format of `actionXyz`
* where `Xyz` stands for the action ID. If found, an [[InlineAction]] representing that
* where `xyz` is the action ID. If found, an [[InlineAction]] representing that
* method will be created and returned.
* @param string $id the action ID.
* @return Action|null the newly created action instance. Null if the ID doesn't resolve into any action.

Loading…
Cancel
Save