protected function acceptFormEnd() { if (count($this->open_forms)) { $this->complete_forms[] = array_pop($this->open_forms); } }