示例#1
0
 function tags()
 {
     require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'models' . DS . 'tag.php';
     $model = new K2ModelTag();
     $model->tags();
 }
示例#2
0
文件: item.php 项目: emavro/k2
 function tags()
 {
     $user = JFactory::getUser();
     if ($user->guest) {
         JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
     }
     require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'models' . DS . 'tag.php';
     $model = new K2ModelTag();
     $model->tags();
 }