/** * * @param XmlTableRowCollection $docobj */ public function addXmlnukeObject($docobj) { if (!$docobj instanceof XmlTableRowCollection) { throw new InvalidArgumentException("XmlTableCollecion expects a XmlTableRowCollection"); } parent::addXmlnukeObject($docobj); }
/** *@desc Generate page, processing yours childs. *@param DOMNode $current *@return void */ public function generateObject($current) { parent::generateObject($current); XmlUtil::AddAttribute($this->_genNode, "colspan", $this->getColspan()); XmlUtil::AddAttribute($this->_genNode, "rowspan", $this->getRowspan()); }