Exemplo n.º 1
0
 public static function init($m)
 {
     parent::init($m);
     $m->id = 'primary';
     $m->children = ['has-many', 'class' => get_called_class(), 'fk' => 'parent_id'];
 }
Exemplo n.º 2
0
 public static function init($m)
 {
     parent::init($m);
     $m->customized = 'string';
 }