/** * Retrieves form used by current databrowser instance. * * @return html_form */ public function getForm() { if ($this->form === null) { $this->form = html_form::create($this->datasource->name() . '_browser', $this->className); $this->callerForm = false; } return $this->form; }