gear/View/Template/Template.php
/**
     * Return section content.
     *
     * @param string $section
     * @param string $default
     *
     * @return string Section content, of default value if section no exists.
     */
Return section content.
@param string $section
@param string $default

@return string Section content, of default value if section no exists.
Return section content . @param string $section @param string $default @return string Section content of default value if section no exists .
public function section($section, $default = '')
    {
        if (isset($this->sections[$section])) {
            return $this->sections[$section];
        }
        return $default;
    }
public function section ( $ section , $ default = '' ) { if ( isset ( $ this -> sections [ $ section ] ) ) { return $ this -> sections [ $ section ] ; } return $ default ; }
Return section content.
Return section content .