[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/ -> Uri.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 204 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  __toString()
  check()
  factory()
  getScheme()
  setConfig()

Functions
Functions that are not part of a class:

__toString()   X-Ref
Return a string representation of this URI.

return: string

check($uri)   X-Ref
Convenience function, checks that a $uri string is well-formed
by validating it but not returning an object.  Returns TRUE if
$uri is a well-formed URI, or FALSE otherwise.

param: string $uri The URI to check
return: boolean

factory($uri = 'http', $className = null)   X-Ref
Create a new Zend_Uri object for a URI.  If building a new URI, then $uri should contain
only the scheme (http, ftp, etc).  Otherwise, supply $uri with the complete URI.

param: string $uri       The URI form which a Zend_Uri instance is created
param: string $className The name of the class to use in order to manipulate URI
return: Zend_Uri

getScheme()   X-Ref
Get the URI's scheme

return: string|false Scheme or false if no scheme is set.

setConfig($config)   X-Ref
Set global configuration options

param: Zend_Config|array $config



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1