Horde_Tree_Renderer_Base::setHeader PHP Méthode

setHeader() public méthode

Adds column headers to the tree table.
public setHeader ( array $header )
$header array An array containing hashes with header information.
    public function setHeader($header)
    {
        $this->_header = $header;
    }

Usage Example

Exemple #1
0
 /**
  * Adds column headers to the tree table.
  *
  * @param array $header  An array containing hashes with header
  *                       information. The following keys are allowed:
  * <pre>
  * class - The CSS class of the header cell
  * html - The HTML content of the header cell
  * </pre>
  */
 public function setHeader($header)
 {
     parent::setHeader($header);
 }