FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Path Class Reference

This is library for path = history of urls It works as iterarator. More...

Public Member Functions

 __construct ()
 Constructor, only clear object.
 clear ()
 Clear object - sets to default value.
 previous ($offset=0, $length=NULL)
 Returns URL of current position in object.
 uri ($uri=TRUE, $lang=FALSE)
 Sets boolean values for URI and lang.

Static Public Member Functions

static instance ()
 Creates or return instance of object.

Public Attributes

const QSNAME = 'path_qsurl'
 String constant for propeerty name of path class in query string.

Detailed Description

This is library for path = history of urls It works as iterarator.

Author
Michal Kliment, David Raška
Version
1.0

Constructor & Destructor Documentation

Path::__construct ( )

Constructor, only clear object.

Author
Michal Kliment

Member Function Documentation

Path::clear ( )

Clear object - sets to default value.

Author
Michal Kliment
Returns
Path object
static Path::instance ( )
static

Creates or return instance of object.

Author
Michal Kliment
Returns
Path object
Path::previous (   $offset = 0,
  $length = NULL 
)

Returns URL of current position in object.

Author
Michal Kliment
Parameters
intger$offset
integer$length
Returns
string
Path::uri (   $uri = TRUE,
  $lang = FALSE 
)

Sets boolean values for URI and lang.

Author
Michal Kliment
Parameters
bolean$uri
boolean$lang
Returns
Path

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