public static function pageHeader($heading, $subtext, $htmlOptions = array())
    {
        self::addCssClass('page-header', $htmlOptions);
        $headerOptions = TbArray::popValue('headerOptions', $htmlOptions, array());
        $subtextOptions = TbArray::popValue('subtextOptions', $htmlOptions, array());
        $output = self::openTag('div', $htmlOptions);
        $output .= self::openTag('h1', $headerOptions);
        $output .= parent::encode($heading) . ' ' . self::tag('small', $subtextOptions, $subtext);
        $output .= '</h1>';
        $output .= '</div>';
        return $output;
    }
public static function pageHeader($heading, $subtext, $htmlOptions = array())
    {
        self::addCssClass('page-header', $htmlOptions);
        $headerOptions = TbArray::popValue('headerOptions', $htmlOptions, array());
        $subtextOptions = TbArray::popValue('subtextOptions', $htmlOptions, array());
        $output = self::openTag('div', $htmlOptions);
        $output .= self::openTag('h1', $headerOptions);
        $output .= parent::encode($heading) . ' ' . self::tag('small', $subtextOptions, $subtext);
        $output .= '</h1>';
        $output .= '</div>';
        return $output;
    }
public static function pageHeader ( $ heading , $ subtext , $ htmlOptions = array ( ) ) { self :: addCssClass ( 'page-header' , $ htmlOptions ) ; $ headerOptions = TbArray :: popValue ( 'headerOptions' , $ htmlOptions , array ( ) ) ; $ subtextOptions = TbArray :: popValue ( 'subtextOptions' , $ htmlOptions , array ( ) ) ; $ output = self :: openTag ( 'div' , $ htmlOptions ) ; $ output .= self :: openTag ( 'h1' , $ headerOptions ) ; $ output .= parent :: encode ( $ heading ) . ' ' . self :: tag ( 'small' , $ subtextOptions , $ subtext ) ; $ output .= '</h1>' ; $ output .= '</div>' ; return $ output ; }
Generates a pager header.
@param string $heading the heading text.
@param string $subtext the subtext.
@param array $htmlOptions additional HTML attributes.
@return string the generated pager header.
Generates a pager header .