public function getPageTypeLabel()
    {
        if (!$this->getData('page_type_label')) {
            $label             = '';
            $identifier        = $this->getPageTypeIdentifier();
            $labelByIdentifier = $this->getPageTypeLabelMap();

            if (isset($labelByIdentifier[$identifier])) {
                $label = $labelByIdentifier[$identifier];
            }

            $this->setData('page_type_label', $label);
        }

        return $this->getData('page_type_label');
    }
public function getPageTypeLabel()
    {
        if (!$this->getData('page_type_label')) {
            $label             = '';
            $identifier        = $this->getPageTypeIdentifier();
            $labelByIdentifier = $this->getPageTypeLabelMap();

            if (isset($labelByIdentifier[$identifier])) {
                $label = $labelByIdentifier[$identifier];
            }

            $this->setData('page_type_label', $label);
        }

        return $this->getData('page_type_label');
    }
public function getPageTypeLabel ( ) { if ( ! $ this -> getData ( 'page_type_label' ) ) { $ label = '' ; $ identifier = $ this -> getPageTypeIdentifier ( ) ; $ labelByIdentifier = $ this -> getPageTypeLabelMap ( ) ; if ( isset ( $ labelByIdentifier [ $ identifier ] ) ) { $ label = $ labelByIdentifier [ $ identifier ] ; } $ this -> setData ( 'page_type_label' , $ label ) ; } return $ this -> getData ( 'page_type_label' ) ; }
Human readable version of the page

@return string
Human readable version of the page