コード例 #1
0
ファイル: coupons.php プロジェクト: ForAEdesWeb/AEW4
 function __construct($config = array())
 {
     parent::__construct($config);
     //	print_r(JRequest::get('post')); exit;
     // Register Extra tasks
     $this->registerTask('add', 'display');
     $this->registerTask('edit', 'display');
 }
コード例 #2
0
ファイル: layout.php プロジェクト: ForAEdesWeb/AEW4
 function __construct($config = array())
 {
     parent::__construct($config);
     // Register Extra tasks
     $this->registerTask('save', 'save');
     $this->registerTask('apply', 'save');
     $this->registerTask('trash', 'remove');
     $this->registerTask('delete', 'remove');
     $this->registerTask('close', 'cancel');
     $this->registerTask('unpublish', 'publish');
 }
コード例 #3
0
ファイル: fields.php プロジェクト: ForAEdesWeb/AEW4
 function __construct($config = array())
 {
     parent::__construct($config);
     //print_r(JRequest::get('post')); exit;
     // Register Extra tasks
     $this->registerTask('add', 'display');
     $this->registerTask('edit', 'display');
     $this->registerTask('apply', 'save');
     $this->registerTask('unpublish', 'publish');
     $this->registerTask('notrequired', 'required');
 }
コード例 #4
0
ファイル: checkout.php プロジェクト: ForAEdesWeb/AEW4
 function __construct()
 {
     parent::__construct();
     JFactory::getDocument()->setCharset('utf-8');
     JResponse::setHeader('X-Cache-Control', 'False', true);
     $this->params = JComponentHelper::getParams($this->option);
     //	$this->defaultShippingMethod = J2StoreHelperCart::getStoreAddress()->config_shipping_default;
     // create the order object
     $this->_order = JTable::getInstance('Orders', 'Table');
     //initialise tax class
     $this->tax = new J2StoreTax();
     //initialise the session object
     $this->session = JFactory::getSession();
     //language
     $language = JFactory::getLanguage();
     /* Set the base directory for the language */
     $base_dir = JPATH_SITE;
     /* Load the language. IMPORTANT Becase we use ajax to load cart */
     $language->load('com_j2store', $base_dir, $language->getTag(), true);
 }
コード例 #5
0
ファイル: payment.php プロジェクト: ForAEdesWeb/AEW4
 /**
  * constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->set('suffix', 'payment');
 }
コード例 #6
0
ファイル: downloads.php プロジェクト: ForAEdesWeb/AEW4
 function __construct()
 {
     parent::__construct();
 }
コード例 #7
0
ファイル: products.php プロジェクト: ForAEdesWeb/AEW4
 function __construct()
 {
     parent::__construct();
     $this->registerTask('unsetDefault', 'setDefault');
     $this->registerTask('setDefault', 'setDefault');
 }
コード例 #8
0
ファイル: shipping.php プロジェクト: ForAEdesWeb/AEW4
 /**
  * constructor
  */
 function __construct()
 {
     parent::__construct();
     $this->set('suffix', 'shipping');
 }
コード例 #9
0
ファイル: migrate.php プロジェクト: ForAEdesWeb/AEW4
 function __construct($config = array())
 {
     parent::__construct($config);
 }