The Yaf_Request_Abstract class

Introduction

Class synopsis

Yaf_Request_Abstract
class Yaf_Request_Abstract {
/* Constants */
const string Yaf_Request_Abstract::SCHEME_HTTP = http;
const string Yaf_Request_Abstract::SCHEME_HTTPS = https;
/* Properties */
public $module;
public $controller;
public $action;
public $method;
protected $params;
protected $language;
protected $_exception;
protected $_base_uri;
protected $uri;
protected $dispatched;
protected $routed;
/* Methods */
public bool clearParams()
public void getActionName()
public void getBaseUri()
public void getControllerName()
public void getEnv(string $name, string $default = ?)
public void getException()
public void getLanguage()
public string getMethod()
public void getModuleName()
public mixed getParam(string $name, string $default = ?)
public array getParams()
public void getRequestUri()
public void getServer(string $name, string $default = ?)
public bool isCli()
public bool isDispatched()
public bool isGet()
public bool isHead()
public bool isOptions()
public bool isPost()
public bool isPut()
public bool isRouted()
public bool isXmlHttpRequest()
public void setActionName(string $action, bool $format_name = true)
public bool setBaseUri(string $uir)
public void setControllerName(string $controller, bool $format_name = true)
public void setDispatched()
public void setModuleName(string $module, bool $format_name = true)
public bool setParam(string $name, string $value = ?)
public void setRequestUri(string $uir)
public void setRouted(string $flag = ?)
}

Properties

module

controller

action

method

params

language

_exception

_base_uri

uri

dispatched

routed

Predefined Constants

Yaf_Request_Abstract::SCHEME_HTTP

Yaf_Request_Abstract::SCHEME_HTTPS

Table of Contents