コード例 #1
0
ファイル: publication.php プロジェクト: sumudinie/hubzero-cms
 /**
  * Get tags for editing
  *
  * @param      int $tagger_id
  * @param      int $strength
  *
  * @return     string HTML
  */
 public function getTagsForEditing($tagger_id = 0, $strength = 0, $admin = 0)
 {
     if (!$this->exists()) {
         return false;
     }
     include_once PATH_CORE . DS . 'components' . DS . 'com_publications' . DS . 'helpers' . DS . 'tags.php';
     $rt = new Helpers\Tags($this->_db);
     $this->_tagsForEditing = $rt->get_tag_string($this->get('id'), 0, 0, $tagger_id, $strength, $admin);
     return $this->_tagsForEditing;
 }