function __construct() { parent::__construct(); $this->registerTask("add", "edit"); $this->registerTask("", "listEmails"); $this->_model = $this->getModel("guruEmails"); $this->registerTask("unpublish", "publish"); }
function __construct() { parent::__construct(); $this->registerTask("add", "edit"); $this->registerTask("", "listMedia"); $this->_model = $this->getModel("guruMedia"); $this->registerTask("unpublish", "publish"); $this->registerTask('ajax_add_video', 'ajaxAddVideo'); $this->registerTask('ajax_add_mass_video', 'ajaxAddMassVideo'); }
function __construct() { parent::__construct(); require_once JPATH_COMPONENT . DS . 'helpers' . DS . 'helper.php'; $this->registerTask("", "listConfigs"); $this->registerTask("general", "listConfigs"); $this->registerTask("payments", "listConfigs"); $this->registerTask("content", "listConfigs"); $this->_model = $this->getModel("guruConfig"); }
function __construct() { parent::__construct(); $this->registerTask("add", "edit"); $this->registerTask("", "edit"); $this->registerTask("edit", "edit"); $this->registerTask("register", "edit"); $this->registerTask("saveCustomer", "save"); $this->registerTask("loginform", "loginform"); $this->_model = $this->getModel('guruCustomer'); }
function __construct() { parent::__construct(); $this->registerTask("", "view"); $this->registerTask("listCourses", "listCourses"); $this->registerTask("tree", "coursesTree"); $this->registerTask("listing", "coursesListing"); $this->registerTask("buy_action", "buyAction"); $this->registerTask("enroll", "enroll"); $this->_model = $this->getModel("guruProgram"); }
function __construct() { parent::__construct(); $this->registerTask("mycourses", "myCourses"); $this->registerTask("listQuizStud", "listQuizStud"); $this->registerTask("show_quizz_res", "show_quizz_res"); $this->registerTask("view", "viewOrderDetails1"); $this->registerTask("showrec", "viewOrderDetails2"); $this->registerTask("renew", "renewtest"); $this->registerTask("printcertificate", "printcertificate"); $this->registerTask("sendemailcertificate", "sendemailcertificate"); $this->_model = $this->getModel("guruOrder"); }
function view() { $returnpage = JRequest::getVar("returnpage", ""); $Itemid = JRequest::getVar("Itemid", "0"); if ($returnpage != "" && $returnpage == "enroll") { $user = JFactory::getUser(); if ($user->id != "0") { $app = JFactory::getAPPlication("site"); $course_id = JRequest::getVar("course_id", "0"); $link = "index.php?option=com_guru&view=guruPrograms&task=enroll&cid=" . intval($course_id) . "&Itemid=" . intval($Itemid); $app->redirect($link); } } JRequest::setVar('view', 'guruLogin'); parent::display(); }
function __construct() { parent::__construct(); $this->registerTask("add", "edit"); $this->registerTask("", "view"); $this->registerTask("unpublish", "publish"); $this->registerTask("exercise", "exerciseFile"); $this->registerTask("saveInDb", "saveInDb"); $this->registerTask("saveInDbQuiz", "saveInDbQuiz"); $this->registerTask("saveInDbaseHowMany", "saveInDbaseHowMany"); $this->registerTask("viewcertificate", "viewcertificate"); $this->registerTask("savecertificatepdf", "savecertificatepdf"); $this->registerTask("lessonmessage", "lessonmessage"); $this->registerTask("deletecom", "deletecom"); $this->registerTask("editgurucomment", "editgurucomment"); $this->registerTask("editformgurupost", "editformgurupost"); $this->registerTask("calculatecertificate", "calculatecertificate"); $this->registerTask("showCertificateFr", "showCertificateFr"); $this->registerTask("quizz_fe_submit", "get_quiz_result"); $this->_model = $this->getModel("guruTask"); }
function getAuthorList() { JRequest::setVar("view", "guruauthor"); $view = $this->getView("guruauthor", "html"); $view->setModel($this->_model, true); parent::display(); }
function __construct() { parent::__construct(); $this->registerTask("", "listQuiz"); $this->_model = $this->getModel("guruQuiz"); }
function view() { JRequest::setVar('view', 'guruEditplans'); parent::display(); }
function view() { JRequest::setVar('view', 'guruBuy'); parent::display(); }
function __construct() { parent::__construct(); $this->registerTask("checkout", "checkout"); }