mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Add code fencing on example.
This commit is contained in:
parent
a696d33bb0
commit
835c709dfd
1 changed files with 2 additions and 0 deletions
|
@ -477,10 +477,12 @@ class Model extends Object implements CakeEventListener {
|
||||||
*
|
*
|
||||||
* For example:
|
* For example:
|
||||||
*
|
*
|
||||||
|
* ```
|
||||||
* public $actsAs = array(
|
* public $actsAs = array(
|
||||||
* 'Translate',
|
* 'Translate',
|
||||||
* 'MyBehavior' => array('setting1' => 'value1')
|
* 'MyBehavior' => array('setting1' => 'value1')
|
||||||
* );
|
* );
|
||||||
|
* ```
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors
|
* @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors
|
||||||
|
|
Loading…
Add table
Reference in a new issue