function getPostStrict($name, $message = null)
    {
        if (array_key_exists($name, $_POST) && $_POST[$name]) {
            return $_POST[$name];
        } elseif ($message) {
            throw new UserException($message);
        } else {
            throw new InvalidArgumentException($name);
        }
    }
function getPostStrict($name, $message = null)
    {
        if (array_key_exists($name, $_POST) && $_POST[$name]) {
            return $_POST[$name];
        } elseif ($message) {
            throw new UserException($message);
        } else {
            throw new InvalidArgumentException($name);
        }
    }
function getPostStrict ( $ name , $ message = null ) { if ( array_key_exists ( $ name , $ _POST ) && $ _POST [ $ name ] ) { return $ _POST [ $ name ] ; } elseif ( $ message ) { throw new UserException ( $ message ) ; } else { throw new InvalidArgumentException ( $ name ) ; } }
Retrieves a POST parameter, or throws an exception if not found or null
@param string
@param string Optional human readable name for error dialog
@return mixed
Retrieves a POST parameter or throws an exception if not found or null