getKeywords() public method

Deprecation:
public getKeywords ( ) : string
return string
示例#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 '';
 }