function form_for($name, $object, $url, $options = array(), $block = nil) { $h = HelperForm::getInstance(); if (is_closure($options)) { $block = $options; $options = array(); } return $h->form_for($name, $object, $url, $options, $block); }