示例#1
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listLanguages");
     $this->_model = $this->getModel("guruLanguages");
 }
示例#2
0
 function install()
 {
     JRequest::setVar("view", "guruinstall");
     $view = $this->getView("guruinstall", "html");
     $view->setModel($this->_model, true);
     parent::display();
 }
示例#3
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listPromos");
     $this->registerTask("show_courses", "showCourses");
     $this->_model = $this->getModel("guruPromos");
 }
示例#4
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "display");
     $this->registerTask("previewcertificate", "previewcertificate");
     $this->_model = $this->getModel("guruCertificate");
 }
示例#5
0
 function listCategories()
 {
     JRequest::setVar("view", "guruabout");
     $view = $this->getView("guruabout", "html");
     $view->setModel($this->_model, true);
     parent::display();
 }
示例#6
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "display");
     $this->registerTask("kunenaoninstall", "kunenaoninstall");
     $this->registerTask("kunenaoninstallno", "");
     $this->_model = $this->getModel("guruKunenaForum");
 }
示例#7
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listPlugins");
     $this->_model = $this->getModel("guruPlugin");
     $this->registerTask("publish", "publish");
     $this->registerTask("unpublish", "publish");
 }
示例#8
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("emails", "emails");
     $this->registerTask("purchases", "purchases");
     $this->registerTask("editEmail", "editEmail");
     $this->_model = $this->getModel("guruLogs");
 }
示例#9
0
文件: guruTasks.php 项目: JozefAB/qk
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listTasks");
     $this->registerTask("", "addQuiz");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("apply", "apply");
     $this->_model = $this->getModel("guruTask");
 }
示例#10
0
 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");
 }
示例#11
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listZones");
     $this->_model = $this->getModel("guruPcateg");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("orderdown", "orderdown");
     $this->registerTask("orderup", "orderup");
     $this->registerTask("saveorder", "saveorder");
 }
示例#12
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listMediaCategs");
     $this->registerTask("edit", "edit");
     $this->registerTask("cancel", "cancel");
     $this->registerTask("save", "save");
     $this->registerTask("apply", "apply");
     $this->_model = $this->getModel("guruMediacategs");
 }
示例#13
0
文件: guruMedia.php 项目: JozefAB/qk
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listMedia");
     $this->_model = $this->getModel("guruMedia");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("mass", "mass");
     $this->registerTask("save_mass", "saveMass");
     $this->registerTask("list_of_modules", "listOfModules");
     $this->registerTask("change_teacher", "changeTeacher");
 }
示例#14
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "display");
     $this->registerTask("remove", "publish");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("unapprove", "publish");
     $this->registerTask("approve", "publish");
     $this->registerTask("orderup", "saveorder");
     $this->registerTask("orderdown", "saveorder");
     $this->_model = $this->getModel("guruSubremind");
 }
示例#15
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listCustomers");
     $this->registerTask("add", "addCustomer");
     $this->registerTask("edit", "editCustomer");
     $this->registerTask("next", "newStudent");
     $this->registerTask("block", "block");
     $this->registerTask("unblock", "block");
     $this->registerTask("reset", "resetCourses");
     $this->_model = $this->getModel('guruCustomers');
 }
示例#16
0
文件: guruQuiz.php 项目: JozefAB/qk
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listQuiz");
     $this->registerTask("listQuizStud", "listQuizStud");
     $this->registerTask("show_quizz_res", "show_quizz_res");
     $this->registerTask("listStudentsQuizTaken", "listStudentsQuizTaken");
     $this->registerTask("export", "exportFile");
     $this->registerTask("exportpdf", "exportFilePdf");
     $this->registerTask("orderup", "saveorder");
     $this->registerTask("orderdown", "saveorder");
     $this->registerTask("deletequizresult", "deletequizresult");
     $this->registerTask("saveOrderQuestions", "saveOrderQuestions");
     $this->_model = $this->getModel("guruQuiz");
 }
示例#17
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listDays");
     $this->registerTask("newmodule", "newModule");
     $this->registerTask("save_new_module", "saveNewModule");
     $this->_model = $this->getModel("guruDays");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("new_course", "newCourse");
     $this->registerTask("back", "backCourse");
     $this->registerTask("change_access", "changeAccess");
     $this->registerTask("save_module_admin", "save_module_admin");
     $this->registerTask("apply", "apply");
     $this->registerTask("action", "action");
 }
示例#18
0
文件: guruOrders.php 项目: JozefAB/qk
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listOrders");
     $this->registerTask("checkcreateuser", "checkcreateuser");
     $this->registerTask("saveCustomer", "saveCustomer");
     $this->registerTask("continue", "saveCustomer");
     $this->registerTask("prepereNewOrder", "prepereNewOrder");
     $this->registerTask("productitem", "productitem");
     $this->registerTask("saveorder", "saveOrder");
     $this->registerTask("cancel", "cancel");
     $this->registerTask("cycleStatus", "cycleStatus");
     $this->registerTask("approve_order", "approveOrder");
     $this->registerTask("make_pending", "makePending");
     $this->registerTask("newCustomerByUsername", "newCustomerByUsername");
     $this->registerTask("show", "show");
     $this->_model = $this->getModel("guruOrder");
 }
示例#19
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listPrograms");
     $this->registerTask("show", "showStudents");
     $this->registerTask('export_button', 'exportFile');
     $this->registerTask("selectCourse", "listPrograms");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("delete", "del");
     $this->registerTask("saveorder", "saveorder");
     $this->registerTask("orderup", "orderup");
     $this->registerTask("orderdown", "orderdown");
     $this->registerTask("orderupfile", "orderFile");
     $this->registerTask("orderdownfile", "orderFile");
     $this->registerTask("saveorderfile", "saveorderFile");
     $this->registerTask("savenbquizzes", "savenbquizzes");
     $this->registerTask("saveOrderAjax", "saveOrderAjax");
     $this->registerTask("saveOrderExercices", "saveOrderExercices");
     $this->registerTask("apply32", "apply");
     $this->registerTask("approve", "approve");
     $this->registerTask("pending", "pending");
     $this->registerTask("getcoursecost", "getcoursecost");
     $this->registerTask("getplans", "getplans");
     $this->registerTask("setrenew", "setrenew");
     $this->registerTask("setpromo", "setpromo");
     $this->registerTask("checkExistingUser", "checkExistingUser");
     $this->registerTask("checkCommissionPlan", "checkCommissionPlan");
     $this->registerTask("addcourse_ajax", "addcourse_ajax");
     $this->registerTask("publish_un_ajax", "publish_un_ajax");
     $this->registerTask("saveOrderG", "saveOrderG");
     $this->registerTask("saveOrderS", "saveOrderS");
     $this->registerTask("deleteFinalQuiz", "deleteFinalQuiz");
     $this->registerTask("deleteGroup", "deleteGroup");
     $this->registerTask("deleteScreen", "deleteScreen");
     $this->registerTask("check_values", "check_values");
     $this->registerTask("delete_course_image", "delete_course_image");
     $this->_model = $this->getModel("guruProgram");
 }
示例#20
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listPrograms");
     $this->registerTask("show", "showStudents");
     $this->registerTask('export_button', 'exportFile');
     $this->registerTask("selectCourse", "listPrograms");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("delete", "del");
     $this->registerTask("saveorder", "saveorder");
     $this->registerTask("orderup", "orderup");
     $this->registerTask("orderdown", "orderdown");
     $this->registerTask("orderupfile", "orderFile");
     $this->registerTask("orderdownfile", "orderFile");
     $this->registerTask("saveorderfile", "saveorderFile");
     $this->registerTask("savenbquizzes", "savenbquizzes");
     $this->registerTask("saveOrderAjax", "saveOrderAjax");
     $this->registerTask("saveOrderExercices", "saveOrderExercices");
     $this->registerTask("apply32", "apply");
     $this->registerTask("approve", "approve");
     $this->registerTask("pending", "pending");
     $this->_model = $this->getModel("guruProgram");
 }
示例#21
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listQuizSettings");
     $this->_model = $this->getModel("guruQuizCountdown");
 }
示例#22
0
 function display($cachable = false, $urlparams = array())
 {
     JRequest::setVar("view", "guruauthor");
     $view = $this->getView("guruauthor", "html");
     $view->setModel($this->_model, true);
     @parent::display();
 }