Пример #1
0
 public function get_activity_count($tag_id)
 {
     $mod = new ActivityModule();
     return $mod->get_count($tag_id, ActivityModel::type_mooc);
 }
Пример #2
0
 function get_talk_count($tag_id)
 {
     $actmod = new ActivityModule();
     return $actmod->get_count($tag_id, ActivityModel::type_talk);
 }