PathNavigator
[
class tree: PathNavigator
] [
index: PathNavigator
] [
all elements
]
Packages:
PathNavigator
Text_PathNavigator
Classes:
Text_PathNavigator
Files:
PathNavigator.php
Element index for package PathNavigator
[
a
] [
b
] [
c
] [
k
] [
m
] [
n
] [
o
] [
p
] [
r
] [
s
] [
t
] [
v
] [
_
]
_
__construct
in file PathNavigator.php, method
Text_PathNavigator::__construct()
Constructs a new Text_PathNavigator object
__toString
in file PathNavigator.php, method
Text_PathNavigator::__toString()
Returns path string
top
a
after
in file PathNavigator.php, method
Text_PathNavigator::after()
Returns path substring following the given regular expression
top
b
before
in file PathNavigator.php, method
Text_PathNavigator::before()
Returns path substring preceding the given regular expression
between
in file PathNavigator.php, method
Text_PathNavigator::between()
Returns path substring between the given regular expressions $start and $end
top
c
$currentIdx
in file PathNavigator.php, variable
Text_PathNavigator::$currentIdx
Current path segment index (Iterator implementation)
cd
in file PathNavigator.php, method
Text_PathNavigator::cd()
Navigates from this path to another using the specified relative path.
count
in file PathNavigator.php, method
Text_PathNavigator::count()
Returns the number of path segments (Countable implementation)
current
in file PathNavigator.php, method
Text_PathNavigator::current()
Returns current path segment (Iterator implementation)
top
k
key
in file PathNavigator.php, method
Text_PathNavigator::key()
Returns index of current path segment (Iterator implementation)
top
m
map
in file PathNavigator.php, method
Text_PathNavigator::map()
Maps path segments to variable names given in $template.
top
n
next
in file PathNavigator.php, method
Text_PathNavigator::next()
Advances to next path segment (Iterator implementation)
normalizePath
in file PathNavigator.php, method
Text_PathNavigator::normalizePath()
Removes all leading and trailing slashes from given path string/segment array.
top
o
offsetExists
in file PathNavigator.php, method
Text_PathNavigator::offsetExists()
Check if a particular segment exists (ArrayAccess implementation)
offsetGet
in file PathNavigator.php, method
Text_PathNavigator::offsetGet()
Get a particular segment (ArrayAccess implementation)
offsetSet
in file PathNavigator.php, method
Text_PathNavigator::offsetSet()
Throws Exception for the purpose of immutability (ArrayAccess implementation)
offsetUnset
in file PathNavigator.php, method
Text_PathNavigator::offsetUnset()
Throws Exception for the purpose of immutability (ArrayAccess implementation)
top
p
$path
in file PathNavigator.php, variable
Text_PathNavigator::$path
Normalized path string
PathNavigator.php
procedural page
PathNavigator.php
top
r
relativeTo
in file PathNavigator.php, method
Text_PathNavigator::relativeTo()
Returns this path relative to another one. Assumes both paths are absolute.
rewind
in file PathNavigator.php, method
Text_PathNavigator::rewind()
Rewinds to first path segment (Iterator implementation)
top
s
$segments
in file PathNavigator.php, variable
Text_PathNavigator::$segments
Normalized path after explode() on $slash
$slash
in file PathNavigator.php, variable
Text_PathNavigator::$slash
Directory separator, i.e, forward or backward slash
slice
in file PathNavigator.php, method
Text_PathNavigator::slice()
Slices current path and returns it as a new Text_PathNavigator object
top
t
Text_PathNavigator
in file PathNavigator.php, class
Text_PathNavigator
Text_PathNavigator
top
v
valid
in file PathNavigator.php, method
Text_PathNavigator::valid()
Checks if current path segment index is valid (Iterator implementation)
top
Documentation generated on Mon, 11 Mar 2019 15:48:42 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.