The Yaf_Request_Simple class
(Yaf >=1.0.0)
Introduction
Yaf_Request_Simple is particularlly used for test puporse. ie. simulate some espacial request under CLI mode.
Class synopsis
string
$method
= ?,string
$module
= ?,string
$controller
= ?,string
$action
= ?,array
$params
= ?)
Properties
- module
- controller
- action
- method
- params
- language
- _exception
- _base_uri
- uri
- dispatched
- routed
Predefined Constants
Yaf_Request_Simple::SCHEME_HTTP
Yaf_Request_Simple::SCHEME_HTTPS
Table of Contents
- Yaf_Request_Simple::__construct — Constructor of Yaf_Request_Simple
- Yaf_Request_Simple::get — The get purpose
- Yaf_Request_Simple::getCookie — The getCookie purpose
- Yaf_Request_Simple::getFiles — The getFiles purpose
- Yaf_Request_Simple::getPost — The getPost purpose
- Yaf_Request_Simple::getQuery — The getQuery purpose
- Yaf_Request_Simple::getRequest — The getRequest purpose
- Yaf_Request_Simple::isXmlHttpRequest — Determin if request is AJAX request