Exemplo n.º 1
0
 function getTotal($user_id, $p = 0)
 {
     if (empty($this->_total)) {
         require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'helpers' . DS . 'general.php';
         $this->_total = generalHelpers::getTotal('#__wedding_videos', 'id', 'user_id=' . $user_id . ' AND published >= ' . $p);
     }
 }
Exemplo n.º 2
0
 function getTotal($user_id)
 {
     if (empty($this->_total)) {
         require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'helpers' . DS . 'general.php';
         $this->_total = generalHelpers::getTotal('#__wedding_thanks', 'id', 'user_id=' . $user_id);
     }
 }
Exemplo n.º 3
0
 function getTotal($user_id)
 {
     require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'helpers' . DS . 'general.php';
     return generalHelpers::getTotal('#__wedding_surveys', 'id', 'user_id=' . $user_id);
 }