public function test() { return parent::hello() . ' ' . parent::world(); }
/** * Adds a new inheritance definition to the inheritance list and set the * parent column of the inheritance to the current column * @param mixed $inhdata Inheritance or XML data. */ public function addInheritance($inhdata) { if ($inhdata instanceof Inheritance) { $inh = $inhdata; $inh->setColumn($this); if ($this->inheritanceList === null) { $this->inheritanceList = array(); $this->isEnumeratedClasses = true; } $this->inheritanceList[] = $inh; return $inh; } else { $inh = new Inheritance(); $inh->loadFromXML($inhdata); return $this->addInheritance($inh); } }
public function __construct() { parent::__inherit(array(new ClassB(), new ClassC())); }