Exemplo n.º 1
0
/**
 *  Wrapper around the post variables as a clean way to get input.
 **/
function post($key, $default_val = null)
{
    $post = RequestWrapper::getPost($key);
    return isset($post) ? $post : $default_val;
}