GBPage::buildHeaderFields PHP Method

buildHeaderFields() public method

public buildHeaderFields ( )
    function buildHeaderFields()
    {
        $header = parent::buildHeaderFields();
        if ($this->order !== null) {
            $header['order'] = $this->order;
        }
        if ($this->hidden !== null) {
            $header['hidden'] = $this->hidden;
        }
        return $header;
    }

Usage Example

Exemplo n.º 1
0
 function buildHeaderFields()
 {
     $header = parent::buildHeaderFields();
     $header['wp-id'] = $this->wpid;
     if ($this->wpparent) {
         $header['wp-parent'] = $this->wpparent;
     }
     return $header;
 }