Menu/SimpleContentMenuItem.php
protected function fetchTitle()
    {
        try
        {
            $this->fetchOption('title', true);
        }
        catch (OptionRequiredException $e)
        {
            // no title was set manually
            if (null !== $this->simpleContentPage)
            {
                $this->title = $this->simpleContentPage->getTitle();
            }
            else
            {
                $this->title = $this->simplePageName;
            }
        }
        
        return $this;
    }
protected function fetchTitle()
    {
        try
        {
            $this->fetchOption('title', true);
        }
        catch (OptionRequiredException $e)
        {
            // no title was set manually
            if (null !== $this->simpleContentPage)
            {
                $this->title = $this->simpleContentPage->getTitle();
            }
            else
            {
                $this->title = $this->simplePageName;
            }
        }
        
        return $this;
    }
protected function fetchTitle ( ) { try { $ this -> fetchOption ( 'title' , true ) ; } catch ( OptionRequiredException $ e ) { // no title was set manually if ( null !== $ this -> simpleContentPage ) { $ this -> title = $ this -> simpleContentPage -> getTitle ( ) ; } else { $ this -> title = $ this -> simplePageName ; } } return $ this ; }
Fetch the item's "title" option.

@return MenuItem
Fetch the item s title option .