Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listOrders");
     $this->registerTask("add_package_from_modal", "addPackageFromModal");
     $this->_model = $this->getModel("adagencyPackage");
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listAds");
     $this->_model = $this->getModel("adagencyAds");
     $this->registerTask("unpublish", "publish");
 }
Exemplo n.º 3
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "phpchangeProvince");
     $this->registerTask("phpchangeProvince", "phpchangeProvince");
     $this->registerTask("edit", "phpchangeProvince");
 }
Exemplo n.º 4
0
 function listCategories()
 {
     JRequest::setVar("view", "adagencyabout");
     $view = $this->getView("adagencyabout", "html");
     $view->setModel($this->_model, true);
     parent::display();
 }
Exemplo n.º 5
0
 function upgrade()
 {
     JRequest::setVar("view", "adagencyupgrade");
     $view = $this->getView("adagencyupgrade", "html");
     $view->setModel($this->_model, true);
     parent::display();
 }
Exemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "blacklist");
     $this->registerTask("blacklist", "blacklist");
     $this->_model = $this->getModel("adagencyBlacklist");
 }
Exemplo n.º 7
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "channels");
     $this->registerTask("savechannel", "applychannel");
     $this->registerTask("settings", "settings");
     $this->_model = $this->getModel("adagencygeo");
 }
Exemplo n.º 8
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listPlugins");
     $this->_model = $this->getModel("adagencyPlugin");
     $this->registerTask("unpublish", "publish");
 }
Exemplo n.º 9
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listAd");
     $this->_model = $this->getModel("adagencyFloating");
     $this->registerTask("unpublish", "publish");
 }
Exemplo n.º 10
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("edit", "edit");
     $this->registerTask("target", "target");
     $this->_model = $this->getModel("adagencyJomsocial");
 }
Exemplo n.º 11
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("apply", "save");
     $this->registerTask("", "listPromos");
     $this->_model = $this->getModel("adagencyPromocodes");
     $this->registerTask("unpublish", "publish");
 }
Exemplo n.º 12
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("apply", "apply");
     $this->registerTask("", "listAd");
     $this->_model = $this->getModel("adagencyTextlink");
     $this->registerTask("unpublish", "publish");
 }
Exemplo n.º 13
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("", "listCampaigns");
     $this->_model = $this->getModel("adagencyCampaigns");
     $this->registerTask("unpublish", "publish");
     $this->registerTask("details", "details");
 }
Exemplo n.º 14
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("add", "edit");
     $this->registerTask("addadv", "wizard");
     $this->registerTask("", "listAdvertisers");
     $this->registerTask("approve_task", "approveAction");
     $this->registerTask("decline_task", "declineAction");
     $this->_model = $this->getModel('adagencyAdvertiser');
 }
Exemplo n.º 15
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("adagencyConfig");
 }
Exemplo n.º 16
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listReports");
     $this->registerTask("overview", "overview");
     $this->registerTask("advertisers", "advertisers");
     $this->registerTask("campaigns", "campaigns");
     $this->registerTask("overview_csv", "overviewCSV");
     $this->registerTask("advertisers_csv", "advertisersCSV");
     $this->registerTask("campaigns_csv", "campaignsCSV");
     $this->registerTask("overview_pdf", "overviewPDF");
     $this->registerTask("advertisers_pdf", "advertisersPDF");
     $this->registerTask("campaigns_pdf", "campaignsPDF");
     $this->_model = $this->getModel("adagencyReports");
 }
Exemplo n.º 17
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask("", "listOrders");
     $this->_model = $this->getModel("adagencyOrder");
 }