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

getText() 공개 메소드

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