public function &getObj() { if (!$this->myObj) { $obj =& parent::getObj(); $obj['variable'] = $this->getAttribute('variable'); $obj['savevalue'] = $this->save; } return $this->myObj; }
public function getNode($xml) { $node = parent::getNode($xml); if ($this->screen) { $node->appendChild($this->screen->getNode($xml, false)); } return $node; }
public function __construct($height = 1, $color = '0,0,0') { $this->item = parent::__construct('hr'); $this->setHeight($height); $this->setColor($color); }