UriData
class UriData implements ArrayAccess, Countable, IteratorAggregate (View source)
The UriData class.
Properties
string | $full | Property full. | |
string | $current | Property current. | |
string | $script | Property script. | |
string | $root | Property root. | |
string | $route | Property route. | |
string | $host | Property host. | |
string | $path | Property path. |
Methods
__construct(array $data = array())
UriData constructor.
mixed
__call(string $name, array $args)
__call
static PsrUri
createPsrUri(string $uri)
createPsrUri
string
addPrefix(string $name, string $url)
addPrefix
getIterator()
Retrieve an external iterator
boolean
offsetExists(mixed $offset)
Whether a offset exists
mixed
offsetGet(mixed $offset)
Offset to retrieve
void
offsetSet(mixed $offset, mixed $value)
Offset to set
void
offsetUnset(mixed $offset)
Offset to unset
int
count()
Count elements of an object
string
full()
No description
string
current()
No description
string
script($uri = null)
No description
string
root($uri = null)
No description
string
route()
No description
string
host($uri = null)
No description
string
path($uri = null)
No description
string
scheme()
No description
Details
at line line 94
__construct(array $data = array())
UriData constructor.
at line line 116
mixed
__call(string $name, array $args)
__call
at line line 163
string
addPrefix(string $name, string $url)
addPrefix
at line line 173
Traversable
getIterator()
Retrieve an external iterator
at line line 186
boolean
offsetExists(mixed $offset)
Whether a offset exists
at line line 198
mixed
offsetGet(mixed $offset)
Offset to retrieve
at line line 211
void
offsetSet(mixed $offset, mixed $value)
Offset to set
at line line 223
void
offsetUnset(mixed $offset)
Offset to unset
at line line 234
int
count()
Count elements of an object