RouteTree
in package
Table of Contents
- $cursor : mixed
- $notFound : mixed
- $root : mixed
- __construct() : mixed
- RouteTree constructor.
- getCursor() : RouteNode
- getRoot() : RouteNode
- isNotFound() : bool
- printOut() : mixed
- pushPath() : mixed
- searchPath() : mixed
- setCursor() : void
- setNotFound() : void
- setRoot() : void
Properties
$cursor
private
mixed
$cursor
$notFound
private
mixed
$notFound
= false
$root
private
mixed
$root
Methods
__construct()
RouteTree constructor.
public
__construct(RouteNode $defaultNode) : mixed
Parameters
- $defaultNode : RouteNode
Return values
mixed —getCursor()
public
getCursor() : RouteNode
Return values
RouteNode —getRoot()
public
getRoot() : RouteNode
Return values
RouteNode —isNotFound()
public
isNotFound() : bool
Return values
bool —printOut()
public
printOut() : mixed
Return values
mixed —pushPath()
public
pushPath(string $fullPath[, Route $routeObj = null ]) : mixed
Parameters
- $fullPath : string
- $routeObj : Route = null
Return values
mixed —searchPath()
public
searchPath(string $path[, mixed $setAtRoot = true ]) : mixed
Parameters
- $path : string
- $setAtRoot : mixed = true
Return values
mixed —setCursor()
public
setCursor(RouteNode $cursor) : void
Parameters
- $cursor : RouteNode
Return values
void —setNotFound()
public
setNotFound(bool $notFound) : void
Parameters
- $notFound : bool
Return values
void —setRoot()
public
setRoot(RouteNode $root) : void
Parameters
- $root : RouteNode