[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/net/src/ -> lmbUri.class.php (summary)

(no description)

File Size: 481 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

lmbUri:: (41 methods):
  __construct()
  addQueryItems()
  parse()
  reset()
  getProtocol()
  getUser()
  getPassword()
  getHost()
  getPort()
  getPath()
  getAnchor()
  setProtocol()
  setUser()
  setPassword()
  setHost()
  setPort()
  setPath()
  setAnchor()
  isAbsolute()
  isRelative()
  countPath()
  countQueryItems()
  compare()
  compareQuery()
  comparePath()
  toString()
  getPathElement()
  getPathElements()
  getPathToLevel()
  getPathFromLevel()
  addEncodedQueryItem()
  addQueryItem()
  getQueryItem()
  getQueryItems()
  setQueryItems()
  removeQueryItem()
  setQueryString()
  removeQueryItems()
  getQueryString()
  _parseQueryString()
  normalizePath()


Class: lmbUri  - X-Ref

class lmbUri.

__construct($str='')   X-Ref
No description

addQueryItems($url, $items=array()   X-Ref
No description

parse($uri)   X-Ref


reset($str = null)   X-Ref
No description

getProtocol()   X-Ref
No description

getUser()   X-Ref
No description

getPassword()   X-Ref
No description

getHost()   X-Ref
No description

getPort()   X-Ref
No description

getPath()   X-Ref
No description

getAnchor()   X-Ref
No description

setProtocol($protocol)   X-Ref
No description

setUser($user)   X-Ref
No description

setPassword($password)   X-Ref
No description

setHost($host)   X-Ref
No description

setPort($port)   X-Ref
No description

setPath($path)   X-Ref
No description

setAnchor($anchor)   X-Ref
No description

isAbsolute()   X-Ref
No description

isRelative()   X-Ref
No description

countPath()   X-Ref
No description

countQueryItems()   X-Ref
No description

compare($uri)   X-Ref
No description

compareQuery($uri)   X-Ref
No description

comparePath($uri)   X-Ref
No description

toString($parts = array('protocol', 'user', 'password', 'host', 'port', 'path', 'query', 'anchor')   X-Ref
No description

getPathElement($level)   X-Ref
No description

getPathElements()   X-Ref
No description

getPathToLevel($level)   X-Ref
No description

getPathFromLevel($level)   X-Ref
No description

addEncodedQueryItem($name, $value)   X-Ref
No description

addQueryItem($name, $value)   X-Ref
No description

getQueryItem($name)   X-Ref
No description

getQueryItems()   X-Ref
No description

setQueryItems($items)   X-Ref
No description

removeQueryItem($name)   X-Ref
Removes a query_string item


setQueryString($query_string)   X-Ref
Sets the query_string to literally what you supply


removeQueryItems()   X-Ref
Removes query items


getQueryString()   X-Ref
Returns flat query_string


_parseQueryString($query_string)   X-Ref
Parses raw query_string and returns an array of it


normalizePath()   X-Ref
Resolves //, ../ and ./ from a path and returns
the result. Eg:

/foo/bar/../boo.php    => /foo/boo.php
/foo/bar/../../boo.php => /boo.php
/foo/bar/.././/boo.php => /foo/boo.php




Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7