Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Route Class Reference

Public Member Functions

 __construct ($path="", $array=[])
 
 getPath ()
 
 setPath ($path)
 
 getController ()
 
 setController ($controller)
 
 getAction ()
 
 setAction ($action)
 
 getParameters ()
 
 setParameters ($parameters)
 
 getCache ()
 
 setCache ($cache)
 
 getDuration ()
 
 setDuration ($duration)
 
 getName ()
 
 setName ($name)
 
 getCompiledParams ()
 
 getId ()
 
 getMessages ()
 
 getMethods ()
 
 setMethods ($methods)
 

Static Public Member Functions

static init (array $array, string $domain='')
 

Private Member Functions

 fromArray ($array)
 
 getVariadicParam ($parameters)
 

Static Private Member Functions

static mergeRouteArray ($routeArrays)
 

Private Attributes

 $path
 
 $controller
 
 $action
 
 $parameters = []
 
 $cache
 
 $duration
 
 $name
 
 $methods
 
 $id
 
 $messages
 

Detailed Description

Definition at line 16 of file Route.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $path = "",
  $array = [] 
)

Definition at line 38 of file Route.php.

Member Function Documentation

◆ fromArray()

fromArray (   $array)
private

Definition at line 60 of file Route.php.

◆ getAction()

getAction ( )

Definition at line 123 of file Route.php.

◆ getCache()

getCache ( )

Definition at line 141 of file Route.php.

◆ getCompiledParams()

getCompiledParams ( )

Definition at line 168 of file Route.php.

◆ getController()

getController ( )

Definition at line 114 of file Route.php.

◆ getDuration()

getDuration ( )

Definition at line 150 of file Route.php.

◆ getId()

getId ( )

Definition at line 198 of file Route.php.

◆ getMessages()

getMessages ( )

Definition at line 202 of file Route.php.

◆ getMethods()

getMethods ( )

Definition at line 206 of file Route.php.

◆ getName()

getName ( )

Definition at line 159 of file Route.php.

◆ getParameters()

getParameters ( )

Definition at line 132 of file Route.php.

◆ getPath()

getPath ( )

Definition at line 105 of file Route.php.

◆ getVariadicParam()

getVariadicParam (   $parameters)
private

Definition at line 96 of file Route.php.

◆ init()

static init ( array  $array,
string  $domain = '' 
)
static

Definition at line 172 of file Route.php.

◆ mergeRouteArray()

static mergeRouteArray (   $routeArrays)
staticprivate

Definition at line 48 of file Route.php.

◆ setAction()

setAction (   $action)

Definition at line 127 of file Route.php.

◆ setCache()

setCache (   $cache)

Definition at line 145 of file Route.php.

◆ setController()

setController (   $controller)

Definition at line 118 of file Route.php.

◆ setDuration()

setDuration (   $duration)

Definition at line 154 of file Route.php.

◆ setMethods()

setMethods (   $methods)

Definition at line 210 of file Route.php.

◆ setName()

setName (   $name)

Definition at line 163 of file Route.php.

◆ setParameters()

setParameters (   $parameters)

Definition at line 136 of file Route.php.

◆ setPath()

setPath (   $path)

Definition at line 109 of file Route.php.

Field Documentation

◆ $action

$action
private

Definition at line 22 of file Route.php.

◆ $cache

$cache
private

Definition at line 26 of file Route.php.

◆ $controller

$controller
private

Definition at line 20 of file Route.php.

◆ $duration

$duration
private

Definition at line 28 of file Route.php.

◆ $id

$id
private

Definition at line 34 of file Route.php.

◆ $messages

$messages
private

Definition at line 36 of file Route.php.

◆ $methods

$methods
private

Definition at line 32 of file Route.php.

◆ $name

$name
private

Definition at line 30 of file Route.php.

◆ $parameters

$parameters = []
private

Definition at line 24 of file Route.php.

◆ $path

$path
private

Definition at line 18 of file Route.php.


The documentation for this class was generated from the following file: