/** * Get the parsed html division (div) * * @return Returns the validated html div as string */ public function getHtmlDiv() { // first check if open div elements exists and set all endtags if needed for ($this->level; $this->level > 2; $this->level--) { $this->closeParentElement('div'); } return parent::getHtmlElement(); }
/** * Get the parsed html list * * @return Returns the validated html list as string */ public function getHtmlList() { $this->closeParentElement('.$this->currentElement().'); return parent::getHtmlElement(); }
/** * Get the full parsed html form * @return string Returns the validated html form as string */ public function getHtmlForm() { return parent::getHtmlElement(); }