public static function heroUnit($heading, $content, $htmlOptions = array())
    {
        self::addCssClass('hero-unit', $htmlOptions);
        $headingOptions = TbArray::popValue('headingOptions', $htmlOptions, array());
        $output = self::openTag('div', $htmlOptions);
        $output .= self::tag('h1', $headingOptions, $heading);
        $output .= $content;
        $output .= '</div>';
        return $output;
    }
public static function heroUnit($heading, $content, $htmlOptions = array())
    {
        self::addCssClass('hero-unit', $htmlOptions);
        $headingOptions = TbArray::popValue('headingOptions', $htmlOptions, array());
        $output = self::openTag('div', $htmlOptions);
        $output .= self::tag('h1', $headingOptions, $heading);
        $output .= $content;
        $output .= '</div>';
        return $output;
    }
public static function heroUnit ( $ heading , $ content , $ htmlOptions = array ( ) ) { self :: addCssClass ( 'hero-unit' , $ htmlOptions ) ; $ headingOptions = TbArray :: popValue ( 'headingOptions' , $ htmlOptions , array ( ) ) ; $ output = self :: openTag ( 'div' , $ htmlOptions ) ; $ output .= self :: tag ( 'h1' , $ headingOptions , $ heading ) ; $ output .= $ content ; $ output .= '</div>' ; return $ output ; }
Generates a hero unit.
@param string $heading the heading text.
@param string $content the content text.
@param array $htmlOptions additional HTML attributes.
@return string the generated hero unit.
Generates a hero unit .