Ejemplo n.º 1
0
 /** @inheritdoc */
 public function behaviors()
 {
     return ['timestampBehavior' => ['class' => TimestampBehavior::className()], 'blameableBehavior' => ['class' => BlameableBehavior::className()], 'sortableBehavior' => ['class' => SortableModel::className()]];
 }
Ejemplo n.º 2
0
 public function behaviors()
 {
     return [SortableModel::className()];
 }