function _methodWorkAroundTag($method) { if (_isUnsupportedMethod($method)) { return hiddenTag('_method', $method); } return ''; }
public function start($url, $method = 'post', $attributes = array()) { return formTag($url, $method, $attributes) . hiddenTag('csrftoken', CsrfProtector::getCsrfToken()); }