Answers the singular name of the associated page class.

@return string
516865
public function getPageName()
    {
        if ($this->PageClass && class_exists($this->PageClass)) {
            return Injector::inst()->get($this->PageClass)->i18n_singular_name();
        }
    }
184761
protected static function getClassname()
    {
        $className = explode('\\', get_called_class());
        $className = array_pop($className);

        return str_replace('_', '-', strtolower($className));
    }
383194
public function getPageTypeName()
    {
        if (!isset($this->pageType)) {
            $this->pageType = $this->getPageTypeObject();
        }
        if (is_object($this->pageType)) {
            return $this->pageType->getPageTypeDisplayName();
        }
    }
757285
public static function getSingularEntityName()
	{
		if ( isset(self::$entity_singular) && ! empty(self::$entity_singular))
			return self::$entity_singular;

		return str_singular(self::getEntityName());
	}
542073
public function getCurrentPageNumber()
    {
        $optionsRenderer = $this->getOptionsRenderer();
        $parameterNames = $optionsRenderer['parameterNames'];

        $request = $this->getRequest();
        if ($request instanceof HttpRequest) {
            $this->currentPageNumber = (int) $request->getPost(
                $parameterNames['currentPage'],
                $request->getQuery($parameterNames['currentPage'], 1)
            );
        }

        return (int) $this->currentPageNumber;
    }
496824
public function getPagePath() {
        $core = $this->getLoops()->getService("web_core");
        $page = $core->page;
        $pagepath = $page === $this ? "" : WebCore::getPagePathFromClassname($page, $core->page_parameter);
        return implode("/", $pagepath ? array_merge([$pagepath], $core->parameter) : $core->parameter);
    }
352239
public function getClassName() {
        $fileSource = $this->fileSpecification->getSource();
        return (new fphp\Helper\PhpParser())->parseFile($fileSource)->getExactlyOneClass($fileSource)->name;
    }
298482
public function getPageNameList()
    {
        if (!empty($this->arPageNameList)) {
            return $this->arPageNameList;
        }

        $arResult = [];

        //Get page list
        $obPageList = $this->getPageList();
        if (empty($obPageList)) {
            return $arResult;
        }

        //Process page list
        foreach ($obPageList as $obPage) {
            $arResult[$obPage->id] = $obPage->title;
        }

        $this->arPageNameList = $arResult;

        return $arResult;
    }
131631
public function getEntityClassName()
    {
        if (null == $this->entityClass) {
            $this->setEntityClass(get_class($this->getEntity()));
        }
        return $this->entityClass;
    }
904423
public function getPageCanonical()
    {
        if (!$this->parser) {
            return;
        }

        $node = $this->parser->find('link[rel=canonical]', 0);

        if ($node) {
            return $node->getAttribute('href');
        }
    }
721925
protected function getClassName()
    {
        $name = implode('', array_map('ucwords', $this->getSortedSingularTableNames()));

        $name = preg_replace_callback('/(\_)([a-z]{1})/', function ($matches) {
            return studly_case($matches[0]);
        }, $name);

        return "Create{$name}PivotTable";
    }
76445
public function PageName($Value = NULL) {
      if ($Value !== NULL) {
         $this->_PageName = $Value;
         return $Value;
      }

      if ($this->_PageName === NULL) {
         if ($this->ControllerName)
            $Name = $this->ControllerName;
         else
            $Name = get_class($this);
         $Name = strtolower($Name);
         
         if (StringEndsWith($Name, 'controller', FALSE))
            $Name = substr($Name, 0, -strlen('controller'));

         return $Name;
      } else {
         return $this->_PageName;
      }
   }
615096
public function getCurrentPage()
    {
        $page = (int) $this->request->getParam(self::PAGE_PARM_NAME);
        return $page ? $page : 1;
    }
1064765
protected function pre_page()
	{
        $style = @$this->span_class['previous'];
        if ($this->page > 1)
        {
            return $this->_get_link($this->_get_url($this->page - 1), $this->pre_page, $style);
        }

        return '<span class="' . $style . '">' . $this->pre_page . '</span>';
	}
133403
public function BackendName()
    {
        $name = parent::BackendName();
        if (!$this->content || !$this->content->GetPageContent())
        {
            return $name;
        }
        $page = $this->content->GetPageContent()->GetPage();
        $category = Category::Schema()->ByPage($page);
        if ($category)
        {
            return $name . " : " . $category->GetName() . " | " . $category->GetArchive()->GetName();
        }
        $archive = Archive::Schema()->ByPage($page);
        if ($archive)
        {
            return $name . " : " . $archive->GetName();
        }
        return $name;
    }
130905
public function NiceClassName() {
        if(class_exists($this->value) && is_a($this->value, 'DataObject', true)) {
            return singleton($this->value)->i18n_singular_name();
        }
        
        return $this->value;
    }
796144
public function singularClassName($class)
    {
        // get the class name if an object is given
        if (is_object($class)) {
            $class = get_class($class);
        }

        // split the class name up by namespaces
        $namespace = explode('\\', $class);
        $className = end($namespace);

        // convert the class name into the underscore version
        $inflector = Inflector::get();

        return $inflector->underscore($className);
    }