Class: VURI

Source Location: /libraries/vwp/uri.php

Class Overview [line 38]

VType
   |
   --VObject
      |
      --VURI

Virtual Web Platform - URI Interface

Author(s):

Version:

Copyright:

  • (c) Ralph Ritoch - All Rights Reserved

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: VObject

VObject::__construct()
Class Constructor
VObject::bind()
Bind values to this object
VObject::delete()
Delete Object
VObject::get()
Get value
VObject::getAll()
Get all object values
VObject::getError()
Get error message
VObject::getErrors()
Get errors
VObject::getMethods()
Get object methods
VObject::getProperties()
Get object properties
VObject::save()
Save Object
VObject::set()
Set a value
VObject::setError()
Set error value
VObject::setProperties()
Set property values
VObject::setProperty()
Set property value
VObject::toString()
Convert object to string
VObject::__destruct()
Class Destructor
VObject::__toString()
Return object as a string


Class Details

Virtual Web Platform - URI Interface

This class provides the URI interface

Tags:

[ Top ]


Class Variables


Class Methods

static base

static string base( )

[line 48]

Get Local Base URL

Tags:

  • return - Base URL
  • access - public

Parameters:

[ Top ]

static changeExtension

static void changeExtension( string $url, string $ext)

[line 98]

Get New Extension

Tags:

  • access - public

Parameters:

  • string $url - Source URL
  • string $ext - Destination Extension

[ Top ]

static createQuery

static string createQuery( array $vars)

[line 239]

Create a query string

Tags:

  • return - Query string
  • access - public

Parameters:

  • array $vars - Query Variables

[ Top ]

static currentURI

static string currentURI( )

[line 65]

Get Current URL

Tags:

  • return - Current URL
  • access - public

Parameters:

[ Top ]

static currentURIOffset

static string currentURIOffset( )

[line 81]

Get Current URL Offset

Tags:

  • return - Current URL
  • access - public

Parameters:

[ Top ]

static parse

static array parse( string $uri)

[line 141]

Parse URI

Tags:

  • return - URI Parts
  • todo - make RFC Compliant
  • access - public

Parameters:

  • string $uri - URI

[ Top ]

static parseQuery

static array parseQuery( string $query)

[line 261]

Parse a query string

Tags:

  • return - Query Variables
  • access - public

Parameters:

  • string $query - Query string

[ Top ]

static _makeQueryItem

static array _makeQueryItem( $key $key, $val $val)

[line 193]

Make Query Item

Tags:

  • return - Query items
  • access - public

Parameters:

  • $key $key - Urlencoded key name
  • $val $val - Value

[ Top ]


Class Constants


Documentation generated on Mon, 17 Jan 2011 01:57:42 -0600 by phpDocumentor 1.4.3