Пример #1
0
 /**
  *    Marker for end of complete page. Any work in
  *    progress can now be closed.
  *    @access public
  */
 protected function acceptPageEnd()
 {
     while (count($this->open_forms)) {
         $this->complete_forms[] = array_pop($this->open_forms);
     }
     foreach ($this->left_over_labels as $label) {
         for ($i = 0, $count = count($this->complete_forms); $i < $count; $i++) {
             $this->complete_forms[$i]->attachLabelBySelector(new SimpleById($label->getFor()), $label->getText());
         }
     }
     $this->page->setForms($this->complete_forms);
     $this->page->setFrames($this->loading_frames);
 }