Yet Another Framework Yaf_Request_Abstract 클래스

(Yaf >=1.0.0)


소개


클래스 개요

                  
class Yaf_Request_Abstract {

  /* Constants */
  const string SCHEME_HTTP = http;
  const string 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 clearParams(): bool
  public getActionName(): void
  public getBaseUri(): void
  public getControllerName(): void
  public getEnv(string $name, string $default = ?): void
  public getException(): void
  public getLanguage(): void
  public getMethod(): string
  public getModuleName(): void
  public getParam(string $name, string $default = ?): mixed
  public getParams(): array
  public getRequestUri(): void
  public getServer(string $name, string $default = ?): void
  public isCli(): bool
  public isDispatched(): bool
  public isGet(): bool
  public isHead(): bool
  public isOptions(): bool
  public isPost(): bool
  public isPut(): bool
  public isRouted(): bool
  public isXmlHttpRequest(): bool
  public setActionName(string $action, bool $format_name = true): void
  public setBaseUri(string $uir): bool
  public setControllerName(string $controller, bool $format_name = true): void
  public setDispatched(): void
  public setModuleName(string $module, bool $format_name = true): void
  public setParam(string $name, string $value = ?): bool
  public setRequestUri(string $uir): void
  public setRouted(string $flag = ?): void
}
                  
                

Properties

module
controller
action
method
params
language
_exception
_base_uri
uri
dispatched
routed

미리 정의된 상수

Yaf_Request_Abstract::SCHEME_HTTP
Yaf_Request_Abstract::SCHEME_HTTPS

목차