Esempio n. 1
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views = array_merge($this->modify_views, array('changestatus', 'product', 'product_select', 'product_add', 'product_delete', 'address', 'state', 'mail', 'partner', 'discount', 'fields', 'changeplugin', 'neworder', 'user', 'product_create', 'customer_set', 'customer_save'));
     $this->display = array_merge($this->display, array('invoice', 'address', 'export', 'download', 'remove_history_data'));
     $this->modify = array_merge($this->modify, array('savechangestatus', 'saveproduct', 'saveproduct_delete', 'copy', 'saveaddress', 'savemail', 'savechangeplugin', 'savediscount', 'savepartner', 'savefields', 'saveuser', 'deleteentry', 'product_remove'));
 }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
     $this->display[] = 'selectmodules';
     $this->display[] = 'savemodules';
     $this->display[] = 'showoptions';
 }
Esempio n. 3
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->display[] = 'selection';
     $this->display[] = 'findValue';
     $this->modify[] = 'useselection';
 }
Esempio n. 4
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     if (!$skip) {
         $this->registerDefaultTask('save');
     }
     $this->display[] = 'save';
 }
Esempio n. 5
0
 function __construct()
 {
     parent::__construct();
     $this->db = JFactory::getDBO();
     $this->modify[] = 'import';
     $this->registerDefaultTask('show');
     $this->helper = hikashop_get('helper.import');
 }
Esempio n. 6
0
 function __construct($config = array())
 {
     $this->modify[] = 'apply_table';
     parent::__construct($config);
     $this->modify_views[] = 'tableform';
     $this->display[] = 'csv';
     $this->display[] = 'edit';
 }
Esempio n. 7
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     $this->modify_views = array('edit');
     $this->add = array('add');
     $this->modify = array('save', 'setdefault');
     $this->delete = array('delete');
 }
Esempio n. 8
0
File: user.php Progetto: rodhoff/MNW
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     if (!$skip) {
         $this->registerDefaultTask('cpanel');
     }
     $this->display = array_merge($this->display, array('cpanel', 'form', 'register', 'downloads'));
 }
Esempio n. 9
0
 function __construct($config = array(), $skip = false)
 {
     $this->display[] = 'update';
     if (!$skip) {
         parent::__construct($config, $skip);
         $this->registerDefaultTask('update');
     }
     JRequest::setVar('tmpl', 'component');
 }
Esempio n. 10
0
 function __construct($config = array())
 {
     $this->display = array('listing', 'csv', 'cpanel');
     $this->modify_views = array('edit');
     $this->add = array('add');
     $this->modify = array('save');
     $this->delete = array('delete', 'remove');
     parent::__construct($config);
 }
Esempio n. 11
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->display = array('unpublish', 'publish', 'listing', 'show', 'cancel', 'selectcategory', 'addcategory', 'selectrelated', 'addrelated', 'getprice', 'addimage', 'selectimage', 'addfile', 'selectfile', 'file_entry', 'variant', 'updatecart', 'export', 'galleryimage', 'galleryselect', 'selection', 'useselection', 'getTree', 'findTree', '');
     $this->modify = array_merge($this->modify, array('managevariant', 'variants', 'save_translation', 'copy', 'characteristic'));
     $this->modify_views = array_merge($this->modify_views, array('edit_translation', 'priceaccess', 'unpublish', 'publish'));
     if (JRequest::getInt('variant')) {
         $this->publish_return_view = 'variant';
     }
 }
Esempio n. 12
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views[] = 'addchild';
     $this->modify_views[] = 'unpublish';
     $this->modify_views[] = 'publish';
     $this->modify_views[] = 'selectchildlisting';
     $this->display[] = 'addchild';
     $this->display[] = 'getTree';
 }
Esempio n. 13
0
 function __construct()
 {
     parent::__construct();
     $this->display[] = 'selectcharacteristic';
     $this->display[] = 'usecharacteristic';
     $this->display[] = 'findList';
     $this->modify_views[] = 'editpopup';
     $this->modify[] = 'addcharacteristic';
     $this->modify[] = 'addcharacteristic_ajax';
 }
Esempio n. 14
0
 public function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     if (!$skip) {
         $this->registerDefaultTask('galleryimage');
     }
     $this->config = hikashop_config();
     $this->base_controller = null;
     $this->initController();
 }
Esempio n. 15
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views[] = 'select_coupon';
     $this->modify_views[] = 'add_coupon';
     $this->modify[] = 'copy';
     $this->display[] = 'selection';
     $this->display[] = 'export';
     $this->modify[] = 'useselection';
 }
Esempio n. 16
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     $this->display[] = 'cancel';
     $this->display[] = 'invoice';
     $this->display[] = 'download';
     $this->display[] = 'pay';
     $this->display[] = 'cancel_order';
     $this->display[] = 'reorder';
 }
Esempio n. 17
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     if (!$skip) {
         $this->registerDefaultTask('cpanel');
     }
     $this->display[] = 'cpanel';
     $this->display[] = 'form';
     $this->display[] = 'register';
     $this->display[] = 'downloads';
 }
Esempio n. 18
0
 function __construct()
 {
     parent::__construct();
     $this->display[] = 'selectstatus';
     $this->display[] = 'getTree';
     $this->display[] = 'findList';
     $this->modify_views[] = 'edit_translation';
     $this->modify[] = 'save_translation';
     $this->modify[] = 'rebuild';
     $this->modify_views[] = 'selectparentlisting';
 }
Esempio n. 19
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     $this->display = array('clicks', 'leads', 'sales', 'cancel', '');
     $this->modify_views = array('show');
     $this->add = array();
     $this->modify = array('save', 'apply');
     $this->delete = array();
     if (!$skip) {
         $this->registerDefaultTask('show');
     }
 }
Esempio n. 20
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     $this->display = array('');
     $this->modify_views = array('form', 'edit', 'newentry', 'save');
     $this->add = array();
     $this->modify = array();
     $this->delete = array();
     if (!$skip) {
         $this->registerDefaultTask('edit');
     }
 }
Esempio n. 21
0
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerDefaultTask('galleryimage');
     $controllerName = JRequest::getCmd('uploader', '');
     if (!empty($controllerName)) {
         $this->controller = hikashop_get('controller.' . $controllerName, array(), true);
         if (!method_exists($this->controller, 'getUploadSetting')) {
             $this->controller = null;
         }
     }
 }
Esempio n. 22
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->display[] = 'selectimages';
     $this->display[] = 'selectnew';
     $this->modify_views[] = 'edit_translation';
     $this->modify_views[] = 'unpublish';
     $this->modify_views[] = 'publish';
     $this->modify[] = 'save_translation';
     $this->modify[] = 'trigger';
     $this->modify[] = 'cancel';
     $this->modify[] = 'copy';
 }
Esempio n. 23
0
 function __construct()
 {
     parent::__construct();
     $this->display[] = 'countresults';
     $this->modify[] = 'process';
     $this->modify_views[] = 'displayassociate';
     $this->modify_views[] = 'results';
     $this->modify_views[] = 'editcell';
     $this->modify[] = 'savecell';
     $this->modify[] = 'copy';
     $this->modify_views[] = 'cancel_edit';
     $this->display[] = 'export';
 }
Esempio n. 24
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     if (!$skip) {
         $this->registerDefaultTask('display');
     }
     $this->display[] = 'display';
     $this->display[] = 'convert';
     $this->display[] = 'newcart';
     $this->display[] = 'showcarts';
     $this->display[] = 'showcart';
     $this->display[] = 'setcurrent';
     $this->display[] = 'delete';
     $this->display[] = 'savecart';
     $this->display[] = 'addtocart';
 }
Esempio n. 25
0
File: user.php Progetto: rodhoff/MNW
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views[] = 'editaddress';
     $this->modify[] = 'deleteaddress';
     $this->modify[] = 'saveaddress';
     $this->modify[] = 'setdefault';
     $this->display[] = 'state';
     $this->display[] = 'clicks';
     $this->display[] = 'leads';
     $this->display[] = 'sales';
     $this->display[] = 'selection';
     $this->display[] = 'useselection';
     $this->modify_views[] = 'pay';
     $this->modify[] = 'pay_confirm';
     $this->modify_views[] = 'pay_process';
 }
Esempio n. 26
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerDefaultTask('config');
     $this->modify_views[] = 'latest';
     $this->modify_views[] = 'share';
     $this->modify_views[] = 'send';
     $this->modify_views[] = 'css';
     $this->display[] = 'seepaymentreport';
     $this->display[] = 'seereport';
     $this->modify[] = 'savelanguage';
     $this->modify[] = 'savecss';
     $this->modify_views[] = 'language';
     $this->modify[] = 'cancel';
     $this->modify_views[] = 'cleanreport';
     $this->modify[] = 'wizard';
     $this->modify[] = 'checkdb';
 }
Esempio n. 27
0
 function __construct($config = array(), $skip = false)
 {
     parent::__construct($config, $skip);
     $this->display = array('convert', 'step', 'notice', 'state', 'deleteaddress', 'notify', 'after_end', 'activate_page', 'activate', 'resetcart', 'threedsecure', 'printcart', '');
     if (!$skip) {
         $this->registerDefaultTask('step');
     }
     $conf =& hikashop_config();
     $this->checkout_workflow = trim($conf->get('checkout', 'login_address_shipping_payment_coupon_cart_status_confirm,end'));
     $this->steps = explode(',', $this->checkout_workflow);
     $this->redirect_url = $conf->get('redirect_url_when_cart_is_empty');
     if (empty($this->redirect_url)) {
         global $Itemid;
         $url = '';
         $itemid_to_use = $Itemid;
         $menuClass = hikashop_get('class.menus');
         if (!empty($itemid_to_use)) {
             $ok = $menuClass->loadAMenuItemId('product', 'listing', $itemid_to_use);
         }
         if (empty($ok)) {
             $ok = $menuClass->loadAMenuItemId('product', 'listing');
         }
         if ($ok) {
             $itemid_to_use = $ok;
         }
         if (!empty($itemid_to_use)) {
             $url = '&Itemid=' . $itemid_to_use;
         }
         $this->redirect_url = hikashop_completeLink('product&task=listing' . $url, false, true);
     } else {
         if (!preg_match('#^https?://#', $this->redirect_url)) {
             $this->redirect_url = JURI::base() . ltrim($this->redirect_url, '/');
         }
         $this->redirect_url = JRoute::_($this->redirect_url, false);
     }
 }
Esempio n. 28
0
 function __construct()
 {
     parent::__construct();
     $this->modify[] = 'update';
 }
Esempio n. 29
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views[] = 'state';
     $this->modify_views[] = 'parentfield';
 }
Esempio n. 30
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views[] = 'unpublish';
     $this->modify_views[] = 'publish';
 }