コード例 #1
0
 public function __construct($parent, $name, $title = null, $options = null)
 {
     $this->parent = $parent;
     $this->otherClass = $parent->has_many($name);
     parent::__construct($name, $title, $options);
 }
コード例 #2
0
 function __construct($class, $name, $title = null, $options = null)
 {
     parent::__construct($name, $title, $options);
     $this->searchClass = $class;
 }