public function __construct($parent, $name, $title = null, $options = null)
 {
     $this->parent = $parent;
     $this->otherClass = $parent->has_many($name);
     parent::__construct($name, $title, $options);
 }
 function __construct($class, $name, $title = null, $options = null)
 {
     parent::__construct($name, $title, $options);
     $this->searchClass = $class;
 }