Пример #1
0
 public function process()
 {
     $this->quote->clearUID();
     if (!empty($_POST)) {
         if ($this->quote->validate($_POST)) {
             return $this->parseResult($this->quote->post());
         }
     }
 }
Пример #2
0
 public function process($data)
 {
     $this->quote->clearUID();
     if (!empty($data)) {
         if ($this->quote->validate($_POST)) {
             $this->parseResult($this->quote->post());
             return true;
         }
     }
     return false;
 }
Пример #3
0
 public function process($data)
 {
     if (!empty($_POST)) {
         if ($this->quote->validate($data)) {
             $this->quote['completed'] = 1;
             $this->quote->post();
             $this->quote->clearUID();
             return true;
         }
     }
     return false;
 }