Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->session->unset_userdata('id_xml');
     $this->session->unset_userdata('add_site_channel');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = "\$('#group_form').submit();";
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->load->library('form');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = 'onSubmit();';
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->_add_css('design');
     $this->load->library('form');
     $this->load->model('new_campaign');
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model('new_campaign');
     $this->load->model('targeting_groups');
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = "OnSubmit();";
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->_add_ajax();
     $this->load->helper('periods');
     $this->load->library('form');
     $this->targeting_all_list = new Campaign_Targeting();
 }
 public function __construct()
 {
     parent::__construct();
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = "onSubmit();";
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->_add_ajax();
     $this->load->library('form');
     $this->load->library('Table_Builder');
     $this->load->helper('form');
     $this->load->model('new_campaign');
     $this->load->model('entity');
 }
Пример #6
0
 /**
  * конструктор класса
  *
  * @return ничего не возвращает 
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('new_campaign');
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'), __('Edit Campaign'))));
     $this->set_campaign_type('edit_campaign');
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->cancel_confirmation = '';
     $this->create_save_button = 'Save';
     $this->on_submit = "OnSubmit();";
     $this->_add_ajax();
     $this->load->library('form');
     $this->targeting_all_list = new Campaign_Targeting();
 }
 public function __construct()
 {
     parent::__construct();
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = "onSubmit();";
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->_add_ajax();
     $this->_add_java_script('jquery.simpledialog.0.1.min');
     $this->load->library('form');
     $this->load->library('Table_Builder');
     $this->load->model('new_campaign');
     $this->load->model("category_model", "", TRUE);
     $this->load->model("site", "", TRUE);
     $this->load->helper('form');
     $this->load->library('Plugins', array('path' => array('advertiser', 'create_campaign_step_select_sites'), 'interface' => 'Sppc_Advertiser_CreateCampaignStep_SelectSites_Interface'));
 }
 public function __construct()
 {
     parent::__construct();
     $this->cancel_confirmation = __("Are you sure to cancel campaign creation?");
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = 'onCreateCampaign();';
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->create_save_button = "Submit Selection";
     $this->_add_ajax();
     $this->_add_css('design');
     $this->load->library('form');
     $this->load->library('Table_Builder');
     $this->load->model('new_campaign');
     $this->load->model('languages');
     $this->load->model('countries');
     $this->load->model('campaigns');
     $this->load->model('targeting_groups');
     $this->targeting_all_list = new Campaign_Targeting();
     $this->load->library('Plugins', array('path' => array('advertiser', 'create_campaign_step_review_selections'), 'interface' => 'Sppc_Advertiser_CreateCampaignStep_ReviewSelections_Interface'));
 }
 public function __construct()
 {
     parent::__construct();
     $this->id_campaign = NULL;
     $this->id_group = NULL;
     $this->id_ad = NULL;
     $this->form_title = '';
     $this->_set_title(implode(self::TITLE_SEP, array(__('Advertiser'), __('Manage Ads'))));
     $this->on_submit = 'onSubmit();';
     $this->cancel_creation_controller = 'advertiser/manage_ads';
     $this->_add_css('design');
     $this->_add_ajax();
     $this->_add_java_script('ajaxupload.3.9');
     $this->_add_java_script('farbtastic');
     $this->_add_css('farbtastic');
     $this->load->library('form');
     $this->load->library('tabs');
     $this->load->model('new_campaign');
     $this->load->model('groups');
     $this->ad_type = "text";
     $this->image_upload_dir = $this->config->item('path_to_campaign_creation_images');
 }