public function create_form($url = NULL, $multipart = FALSE, $attributes = array()) { $url = $url === NULL ? current_url() : $url; $form = new Form($url, $multipart, $attributes); $this->mFormCount++; $form->set_id($this->mFormCount); return $form; }