public function get_visible_name($lazyload = false) {

        $component = $this->componentname;

        // Core subsystem strings go to lang/XX/search.php.
        if ($this->componenttype === 'core') {
            $component = 'search';
        }
        return get_string('search:' . $this->areaname, $component, null, $lazyload);
    }
public function get_visible_name($lazyload = false) {

        $component = $this->componentname;

        // Core subsystem strings go to lang/XX/search.php.
        if ($this->componenttype === 'core') {
            $component = 'search';
        }
        return get_string('search:' . $this->areaname, $component, null, $lazyload);
    }
public function get_visible_name ( $ lazyload = false ) { $ component = $ this -> componentname ; // Core subsystem strings go to lang/XX/search.php. if ( $ this -> componenttype === 'core' ) { $ component = 'search' ; } return get_string ( 'search:' . $ this -> areaname , $ component , null , $ lazyload ) ; }
Returns the area visible name.

@param bool $lazyload Usually false, unless when in admin settings.
@return string
Returns the area visible name .