/** * Method addRowColumns * @access public * @param mixed $object [default value: null] * @param mixed $object2 [default value: null] * @param mixed $object3 [default value: null] * @param mixed $object4 [default value: null] * @param mixed $object5 [default value: null] * @return RowTable * @since 1.0.36 */ public function addRowColumns($object = null, $object2 = null, $object3 = null, $object4 = null, $object5 = null) { $row = new RowTable(); $row->setAlign($this->default_align); $row->setValign($this->default_valign); $args = func_get_args(); for ($i = 0; $i < sizeof($args); $i++) { if ($args[$i] !== null) { $row->add($args[$i]); } } if ($row->getClass() == "" && $this->class != "") { $row->setClass($this->class); if (sizeof($this->rows) > 0 && $this->rows[0]->isHeader()) { $row->setBorderPredefinedStyle($this->class); } } $this->rows[sizeof($this->rows)] = $row; if ($row->getNbColumns() > $this->max_nb_cols) { $this->max_nb_cols = $row->getNbColumns(); } if ($GLOBALS['__PAGE_IS_INIT__']) { $this->object_change = true; } return $row; }