Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), ['Registry' => ['class' => 'canis\\db\\behaviors\\Registry']]);
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), ['Registry' => ['class' => 'canis\\db\\behaviors\\Registry'], 'Roleable' => ['class' => 'cascade\\components\\db\\behaviors\\Roleable'], 'ActiveAccess' => ['class' => 'cascade\\components\\db\\behaviors\\ActiveAccess']]);
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), self::baseBehaviors(), []);
 }