lithium\template\helper\Form::end()
Echoes a closing </form>
tag and unbinds the Form
helper from any Record
or Document
object used to generate the corresponding form.
Returns
stringReturns a closing </form>
tag.
Filter
This method can be filtered.
Source
public function end() {
list(, $options, $template) = $this->_defaults(__FUNCTION__, null, array());
$params = compact('options', 'template');
$_context =& $this->_context;
$_options =& $this->_bindingOptions;
$filter = function($self, $params) use (&$_context, &$_options, $template) {
$_options = array();
return $self->invokeMethod('_render', array('end', $params['template'], array()));
};
$result = $this->_filter(__METHOD__, $params, $filter);
unset($this->_binding);
$this->_binding = null;
return $result;
}