mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Merge pull request #9464 from ravage84/2.x-actsas-docblock
Minor DocBlock improvement
This commit is contained in:
commit
a696d33bb0
1 changed files with 7 additions and 2 deletions
|
@ -473,9 +473,14 @@ class Model extends Object implements CakeEventListener {
|
|||
|
||||
/**
|
||||
* List of behaviors to load when the model object is initialized. Settings can be
|
||||
* passed to behaviors by using the behavior name as index. Eg:
|
||||
* passed to behaviors by using the behavior name as index.
|
||||
*
|
||||
* public $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
|
||||
* For example:
|
||||
*
|
||||
* public $actsAs = array(
|
||||
* 'Translate',
|
||||
* 'MyBehavior' => array('setting1' => 'value1')
|
||||
* );
|
||||
*
|
||||
* @var array
|
||||
* @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors
|
||||
|
|
Loading…
Add table
Reference in a new issue