Pimcore\Model\Object\BlogArticle::getTitle PHP 메소드

getTitle() 공개 메소드

Get title - Title
public getTitle ( $language = null ) : string
리턴 string
    public function getTitle($language = null)
    {
        $data = $this->getLocalizedfields()->getLocalizedValue("title", $language);
        $preValue = $this->preGetValue("title");
        if ($preValue !== null && !\Pimcore::inAdmin()) {
            return $preValue;
        }
        return $data;
    }