Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitRequest

Core::arbitRequest

Class arbitRequest

Basic structure containing request information. request information extend this struct and add validtions for these additional properties to the __set method.

Basic structure containing request information. For more then the very basic request information extend this struct and add validtions for these additional properties to the __set method.

ezcMvcRequest
   |
   --arbitRequest
Author(s):
Version:   $Revision: 1692 $
License:   GPL

Descendants

Child Class Description
arbitHttpRequest The HTTP request class extends the ase request class by user submitted information on accepted languages and content types.
arbitCliRequest The HTTP request class extends the ase request class by user submitted information on accepted languages and content types.

Member Variables

public string $action
Action as extracted from request URL.

Action as extracted from request URL.

public string $controller
Controller as extracted from request URL.

Controller as extracted from request URL.

public string $extension = null
Extension as extracted from request URL.

Extension as extracted from request URL.

public string $subaction
Sub action as extracted from request URL.

Sub action as extracted from request URL.

Method Summary

public static arbitRequest __set_state( $values )
Generic set state method for structs
public void __construct( [ $controller = 'core'] , [ $action = 'index'] , [ $subaction = 'index'] )
Construct controller from given values
public abstract string serialize( )
Serialize URL Return a string representation of the URL for the requests connection type.

Methods

__set_state

static arbitRequest __set_state( $values )

Generic set state method for structs

Generic set state method for structs

Parameters:
Name Type Description
$values array

__construct

void __construct( [string $controller = 'core'] , [string $action = 'index'] , [string $subaction = 'index'] )

Construct controller from given values

Construct controller from given values

Parameters:
Name Type Description
$controller string
$action string
$subaction string

serialize

string serialize( )

Serialize URL Return a string representation of the URL for the requests connection type.

Serialize URL Return a string representation of the URL for the requests connection type.

Redefined in descendants as:
Method Description
arbitHttpRequest::serialize() Serialize URL Return a string representation of the URL for the requests connection type. 
arbitCliRequest::serialize() Serialize URL Return a string representation of the URL for the requests connection type. 
Documentation generated on Mon, 05 Apr 2010 14:01:37 +0200 by phpDocumentor 1.4.3