PHP Class Redaxscript\Router\Parameter

Since: 2.4.0
Author: Henry Ruhs
Show file Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$_parameterArray array array of the parameter
$_request object instance of the request class

Public Methods

Method Description
__construct ( Request $request ) constructor of the class
getAdmin ( ) : string get the admin parameter
getAlias ( ) : string get the alias parameter
getFirst ( ) : string get the first parameter
getFourth ( ) : string get the fourth parameter
getId ( ) : string get the id parameter
getLast ( ) : string get the last parameter
getSecond ( ) : string get the second parameter
getSub ( ) : string get the sub parameter
getTable ( ) : string get the table parameter
getThird ( ) : string get the third parameter
getToken ( ) : string get the token parameter
init ( ) init the class

Method Details

__construct() public method

constructor of the class
Since: 2.4.0
public __construct ( Request $request )
$request Redaxscript\Request instance of the request class

getAdmin() public method

get the admin parameter
Since: 2.4.0
public getAdmin ( ) : string
return string

getAlias() public method

get the alias parameter
Since: 2.4.0
public getAlias ( ) : string
return string

getFirst() public method

get the first parameter
Since: 2.4.0
public getFirst ( ) : string
return string

getFourth() public method

get the fourth parameter
Since: 2.4.0
public getFourth ( ) : string
return string

getId() public method

get the id parameter
Since: 2.4.0
public getId ( ) : string
return string

getLast() public method

get the last parameter
Since: 2.4.0
public getLast ( ) : string
return string

getSecond() public method

get the second parameter
Since: 2.4.0
public getSecond ( ) : string
return string

getSub() public method

get the sub parameter
Since: 2.4.0
public getSub ( ) : string
return string

getTable() public method

get the table parameter
Since: 2.4.0
public getTable ( ) : string
return string

getThird() public method

get the third parameter
Since: 2.4.0
public getThird ( ) : string
return string

getToken() public method

get the token parameter
Since: 2.4.0
public getToken ( ) : string
return string

init() public method

init the class
Since: 2.4.0
public init ( )

Property Details

$_parameterArray protected property

array of the parameter
protected array $_parameterArray
return array

$_request protected property

instance of the request class
protected object $_request
return object