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); } }
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); } }
function getTotal($user_id) { require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'helpers' . DS . 'general.php'; return generalHelpers::getTotal('#__wedding_surveys', 'id', 'user_id=' . $user_id); }