PHP Class Indatus\Ranger\RequestDiagnostics\RequestContainer

Mostra file Open project: indatus/ranger Class Usage Examples

Protected Properties

Property Type Description
$action
$additionalAssigns array Array of additional variables that should be made available to the view
$belongsTo The variable should be set with the pluralized lowercase name of the parent. i.e. 'products'
$controller
$id
$model
$parentAssociation Variable set by subclasses to define the parent association with a key / value array. Primarily used for nested resources, the array would be set as: array('parent_id' => $id)
$request array variable to hold the $this->input->all() or overwridden value
$route

Public Methods

Method Description
__construct ( array $params, Illuminate\Http\Request $request, Router $router )
getAction ( )
getAdditionalAssigns ( )
getContentType ( )
getController ( )
getForeignKey ( )
getId ( )
getInput ( ) : array getInput returns all the input
getModel ( )
getParentAssociation ( )
getPrimaryKey ( )
getRequestMethod ( )
getRoute ( )
getTable ( )
getUrl ( )

Private Methods

Method Description
_setProperties ( )

Method Details

__construct() public method

public __construct ( array $params, Illuminate\Http\Request $request, Router $router )
$params array
$request Illuminate\Http\Request
$router Illuminate\Routing\Router

getAction() public method

public getAction ( )

getAdditionalAssigns() public method

getContentType() public method

public getContentType ( )

getController() public method

public getController ( )

getForeignKey() public method

public getForeignKey ( )

getId() public method

public getId ( )

getInput() public method

getInput returns all the input
public getInput ( ) : array
return array

getModel() public method

public getModel ( )

getParentAssociation() public method

getPrimaryKey() public method

public getPrimaryKey ( )

getRequestMethod() public method

public getRequestMethod ( )

getRoute() public method

public getRoute ( )

getTable() public method

public getTable ( )

getUrl() public method

public getUrl ( )

Property Details

$action protected_oe property

protected $action

$additionalAssigns protected_oe property

Array of additional variables that should be made available to the view
protected array $additionalAssigns
return array

$belongsTo protected_oe property

The variable should be set with the pluralized lowercase name of the parent. i.e. 'products'
protected $belongsTo

$controller protected_oe property

protected $controller

$id protected_oe property

protected $id

$model protected_oe property

protected $model

$parentAssociation protected_oe property

Variable set by subclasses to define the parent association with a key / value array. Primarily used for nested resources, the array would be set as: array('parent_id' => $id)
protected $parentAssociation

$request protected_oe property

variable to hold the $this->input->all() or overwridden value
protected array $request
return array

$route protected_oe property

protected $route