Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "edit");
     $this->_model = $this->getModel("adagencyStandard");
     $this->registerTask("unpublish", "publish");
 }
Пример #2
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("default", "listOrders");
     $this->registerTask("", "listOrders");
     $this->_model = $this->getModel("adagencyOrder");
     $this->_plugins = $this->getModel("adagencyPlugin");
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "register");
     $this->registerTask("captcha", "captcha");
     $this->_model = $this->getModel('adagencyAdvertiser');
 }
Пример #4
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "edit");
     $this->registerTask("target", "target");
     $this->_model = $this->getModel("adagencyJomsocial");
 }
Пример #5
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listOrders");
     $this->registerTask("default", "listOrders");
     $this->_model = $this->getModel("adagencyPackage");
     $this->model2 = $this->getModel("adagencyConfig");
 }
Пример #6
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listCategories");
     $this->registerTask("unpublish", "publish");
     $this->_model = $this->getModel("adagencycpanel");
     $this->model2 = $this->getModel("adagencyConfig");
 }
Пример #7
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listReports");
     $this->registerTask("campaigns", "listReports");
     $this->registerTask("campaigns_csv", "campaignsCSV");
     $this->registerTask("campaigns_pdf", "campaignsPDF");
     $this->_model = $this->getModel("adagencyReports");
 }
Пример #8
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit", "preview");
     $this->registerTask("", "listAds");
     $this->registerTask("default", "listAds");
     $this->registerTask("remote_ad", "getRemoteAd");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("loadflash", "loadflash");
     $this->_model = $this->getModel("adagencyAds");
 }
Пример #9
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listCampaigns");
     $this->registerTask("default", "listCampaigns");
     $this->_model = $this->getModel("adagencyCampaigns");
     $this->model2 = $this->getModel("adagencyConfig");
     $this->_plugins = $this->getModel("adagencyPlugin");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("details", "details");
     $this->registerTask("checkPromoCode", "checkPromoCode");
 }
Пример #10
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "phpchangeProvince");
     $this->registerTask("edit", "phpchangeProvince");
 }