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