Ejemplo n.º 1
0
 /**
  *
  * @param XmlTableRowCollection $docobj
  */
 public function addXmlnukeObject($docobj)
 {
     if (!$docobj instanceof XmlTableRowCollection) {
         throw new InvalidArgumentException("XmlTableCollecion expects a XmlTableRowCollection");
     }
     parent::addXmlnukeObject($docobj);
 }
Ejemplo n.º 2
0
 /**
  *@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());
 }