PHP 클래스 DefaultPolicy, recess

상속: implements IPolicy
파일 보기 프로젝트 열기: KrisJordan/recess

보호된 프로퍼티들

프로퍼티 타입 설명
$controller

공개 메소드들

메소드 설명
getControllerFor ( Request &$request, RtNode $routes )
getViewFor ( Response &$response )
preprocess ( Request &$request ) : Request Used to pre-process a request.

보호된 메소드들

메소드 설명
forceFormatFromResourceString ( Request &$request )
getControllerFromRouteResult ( Request &$request, RoutingResult $routeResult )
getHttpMethodFromPost ( Request &$request )
reparameterizeForFormat ( Request &$request ) but rather it is based on the content-type of the entity.

메소드 상세

forceFormatFromResourceString() 보호된 메소드

protected forceFormatFromResourceString ( Request &$request )
$request Request

getControllerFor() 공개 메소드

public getControllerFor ( Request &$request, RtNode $routes )
$request Request
$routes RtNode

getControllerFromRouteResult() 보호된 메소드

protected getControllerFromRouteResult ( Request &$request, RoutingResult $routeResult )
$request Request
$routeResult RoutingResult

getHttpMethodFromPost() 보호된 메소드

protected getHttpMethodFromPost ( Request &$request )
$request Request

getViewFor() 공개 메소드

public getViewFor ( Response &$response )
$response Response

preprocess() 공개 메소드

This may involve extracting information and transforming values. For example, Transforming the HTTP method from POST to PUT based on a POSTed field.
public preprocess ( Request &$request ) : Request
$request Request
리턴 Request The refined Request.

reparameterizeForFormat() 보호된 메소드

but rather it is based on the content-type of the entity.
protected reparameterizeForFormat ( Request &$request )
$request Request

프로퍼티 상세

$controller 보호되어 있는 프로퍼티

protected $controller