Esempio n. 1
0
 /**
  * @see Requestable
  */
 public function RequestHandle()
 {
     if (isset($_REQUEST[$this->id . '_q'])) {
         $allchild = $this->getChildComponents(true);
         foreach ($allchild as $component) {
             if ($component instanceof SubmitDataRequest) {
                 //проверяем что элемент не находится в невидимой панели
                 if ($this->checkInvisibleOwner($component) == false) {
                     $component->getRequestData();
                 }
             }
         }
         $this->OnSubmit();
     }
     parent::RequestHandle();
 }
Esempio n. 2
0
 /**
  * Вызывается   из  WebApplication при обработке  HTTP запроса
  *
  * @param array  Запрос  ввиде массива  элементов
  * @see WebApplication
  */
 public function RequestHandle()
 {
     $this->beforeRequest();
     parent::RequestHandle();
     $this->afterRequest();
 }