Пример #1
0
 /**
  * @return array Parameter array to put in request
  */
 public function getParametersArray()
 {
     $params = $this->parameters->getArrayCopy();
     // Put P_SIGN to the end of the param list
     if (array_key_exists('P_SIGN', $params)) {
         $pSign = $params['P_SIGN'];
         unset($params['P_SIGN']);
         $params['P_SIGN'] = $pSign;
     }
     return $params;
 }
Пример #2
0
 /**
  * @param $key
  */
 public function Delete($key)
 {
     unset($_SESSION[$key]);
     parent::Delete($key);
 }
Пример #3
0
 /**
  * @param $key
  */
 public function Delete($key)
 {
     if (setcookie($key, '', 0, $this->settings['path'], $this->settings['domain'], $this->settings['secure'], $this->settings['httponly'])) {
         parent::Delete($key);
     }
 }