Pimcore\Model\Object\BlogArticle::getText PHP Méthode

getText() public méthode

Get text - Text
public getText ( $language = null ) : string
Résultat 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;
    }