Example #1
0
 public function &prepare()
 {
     if ($this->child && $this->parent !== null) {
         return $this->parent->prepare();
     }
     $instance = new self();
     $instance->loadByLink($this->ref, $this->debug);
     $this->classLinks[] =& $instance;
     return $instance;
 }