public function AddHeader($name, $enabled=true)
    {
        if(!isset($this->headers[$name]))
        {
            $header = new Element\Header($name, $enabled);

            $this->headers[$name] = $header;
        }
    }
public function AddHeader($name, $enabled=true)
    {
        if(!isset($this->headers[$name]))
        {
            $header = new Element\Header($name, $enabled);

            $this->headers[$name] = $header;
        }
    }
public function AddHeader ( $ name , $ enabled = true ) { if ( ! isset ( $ this -> headers [ $ name ] ) ) { $ header = new Element \ Header ( $ name , $ enabled ) ; $ this -> headers [ $ name ] = $ header ; } }
Add a header file.
@param string $name  Name of header file.
@param bool $enabled Flag to inidicate if the header should be included
as part of the code generation.
Add a header file .