Pimcore\Model\Document\Page::getKeywords PHP 메소드

getKeywords() 공개 메소드

사용 중단:
public getKeywords ( ) : string
리턴 string
    public function getKeywords()
    {
        // keywords are not supported anymore
        Logger::info("getKeywords() is deprecated and will be removed in the future!");
        return "";
    }

Usage Example

예제 #1
0
 /**
  * @param boolean $callParent
  * @return string
  */
 public function getKeywords($callParent = true)
 {
     if ($callParent) {
         return parent::getKeywords();
     }
     foreach ($this->getPagesOnPath() as $page) {
         if ($page->getKeywords()) {
             return $page->getKeywords();
         }
     }
     return '';
 }