/** * @param $table HTMLTableMain object: table owning the current header * @param $name string the name of the header * @param $content see inc/HTMLTableEntity#__construct() * @param $father HTMLTableSuperHeader objet (default NULL) **/ function __construct(HTMLTableMain $table, $name, $content, HTMLTableSuperHeader $father = NULL) { $this->table = $table; parent::__construct($name, $content, $father); }
/** * @param $header HTMLTableSuperHeader object * @param $name * @param $content see HTMLTableEntity#__construct() * @param $father HTMLTableHeader object (default NULL) **/ function __construct(HTMLTableSuperHeader $header, $name, $content, HTMLTableHeader $father = NULL) { $this->header = $header; parent::__construct($name, $content, $father); $this->copyAttributsFrom($this->header); }