예제 #1
0
 /**
  * Get page's tags
  * @return null | array
  */
 protected function _getTags()
 {
     $oTags = $this->_oPage->getTags();
     if (!count($oTags)) {
         return null;
     }
     $aResult = array();
     foreach ($oTags as $oTag) {
         $aResult[] = array('id' => $oTag->id, 'title' => $oTag->title);
     }
     return $aResult;
 }