Пример #1
0
 /**
  * ACTION: default action
  *
  * @return void
  */
 protected function doNoAction()
 {
     if (isset(\XLite\Core\Request::getInstance()->{'token-id'}) && isset(\XLite\Core\Request::getInstance()->{'registration-status'})) {
         $this->capostValidateMerchant();
     }
     parent::doNoAction();
 }
Пример #2
0
 /**
  * Define the actions with no secure token
  *
  * @return array
  */
 public static function defineFreeFormIdActions()
 {
     return array_merge(parent::defineFreeFormIdActions(), array('hide_welcome_block_paypal', 'hide_welcome_block_paypal_forever'));
 }