From 06f945f27840b53e57795dadbc38e76f7e11ab1c Mon Sep 17 00:00:00 2001
From: Horus3
Date: Mon, 24 Feb 2014 16:42:14 +0100
Subject: init
---
zend/documentation/api/core/files/Uri.Http.html | 98 +++++++++++++++++++++++++
1 file changed, 98 insertions(+)
create mode 100644 zend/documentation/api/core/files/Uri.Http.html
(limited to 'zend/documentation/api/core/files/Uri.Http.html')
diff --git a/zend/documentation/api/core/files/Uri.Http.html b/zend/documentation/api/core/files/Uri.Http.html
new file mode 100644
index 0000000..ca83b83
--- /dev/null
+++ b/zend/documentation/api/core/files/Uri.Http.html
@@ -0,0 +1,98 @@
+
+
Zend Gdata API Documentation Uri/Http.php Zend Framework
LICENSE
+
+
This source file is subject to the new BSD license that is bundled
+with this package in the file LICENSE.txt.
+It is also available through the world-wide-web at this URL:
+http://framework.zend.com/license/new-bsd
+If you did not receive a copy of the license and are unable to
+obtain it through the world-wide-web, please send an email
+to license@zend.com so we can send you a copy immediately.
Category Zend
+
+ Copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+
+ License New BSD License
+
+ Package Zend_Uri
+
+ Version $Id: Http.php 24593 2012-01-05 20:35:02Z matthew $
+
+ Package: Zend\UriHTTP(S) URI handler
Parent(s) \Zend_Uri Category Zend
+
+ Copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+
+ License New BSD License
+
+ Uses \global\Zend_Uri
+
+ Constants
+ CHAR_ALNUM
+ = 'A-Za-z0-9'Character classes for validation regular expressions
+ CHAR_MARK
+ = '-_.!~*\'()\[\]'
+ CHAR_RESERVED
+ = ';\/?:@&=+$,'
+ CHAR_SEGMENT
+ = ':@&=+$,;'
+ CHAR_UNWISE
+ = '{}|\\\\^`'
Properties array $_regex = array()Regular expression grammar rules for validation; values added by constructor
Default value array()Details Type array
Methods __construct (string $scheme, string $schemeSpecific = '') : voidConstructor accepts a string $scheme (e.g., http, https) and a scheme-specific part of the URI
+(e.g., example.com/path/to/resource?query=param#fragment)
Use Zend_Uri::factory() to return a new Zend_Uri object.
Parameters Name Type Description $scheme string The scheme of the URI
$schemeSpecific string The scheme-specific part of the URI
+
Throws
_parseUri (string $schemeSpecific) : voidParse the scheme-specific portion of the URI and place its parts into instance variables.
Parameters Name Type Description $schemeSpecific string The scheme-specific portion to parse
+
Throws
addReplaceQueryParameters (array $queryParams) : stringAdd or replace params in the query string for the current URI, and
+return the old query.
Parameters Name Type Description $queryParams array
Returns Type Description string Old query string
check (string $uri) : booleanstatic inherited Convenience function, checks that a $uri string is well-formed
+by validating it but not returning an object.
Inherited from:
+ \Zend_Uri::check() Returns TRUE if
+$uri is a well-formed URI, or FALSE otherwise.
Parameters Name Type Description $uri string The URI to check
Returns
factory (string $uri = 'http', string $className = null) : \Zend_Uri If building a new URI, then $uri should contain
+only the scheme (http, ftp, etc). Otherwise, supply $uri with the complete URI.
Parameters Name Type Description $uri string The URI form which a Zend_Uri instance is created
$className string The name of the class to use in order to manipulate URI
Returns Throws Details Link http://www.faqs.org/rfcs/rfc2396.html
+
+
fromString (string $uri) : \Zend_Uri_Http static Creates a Zend_Uri_Http from the given string
Parameters Name Type Description $uri string String to create URI from, must start with
+ 'http://' or 'https://'
+
Returns Throws
getFragment () : string | falseReturns the fragment portion of the URL (after #), or FALSE if none.
Returns Type Description string | false
getQueryAsArray () : arrayReturns the query portion of the URL (after ?) as a
+key-value-array.
If the query is empty an empty array
+is returned
Returns
getUri () : stringReturns a URI based on current values of the instance variables.
If any
+part of the URI does not pass validation, then an exception is thrown.
Returns Throws
removeQueryParameters (array $queryParamKeys) : stringRemove params in the query string for the current URI, and
+return the old query.
Parameters Name Type Description $queryParamKeys array
Returns Type Description string Old query string
setFragment (string $fragment) : stringSets the fragment for the current URI, and returns the old fragment
Parameters Name Type Description $fragment string Fragment of the current URI
Returns Throws
setHost (string $host) : stringSets the host for the current URI, and returns the old host
Parameters Name Type Description $host string The HTTP host
Returns Throws
setPassword (string $password) : stringSets the password for the current URI, and returns the old password
Parameters Name Type Description $password string The HTTP password
Returns Throws
setPath (string $path) : stringSets the path for the current URI, and returns the old path
Parameters Name Type Description $path string The HTTP path
Returns Throws
setPort (string $port) : stringSets the port for the current URI, and returns the old port
Parameters Name Type Description $port string The HTTP port
Returns Throws
setQuery (string | array $query) : stringSet the query string for the current URI, and return the old query
+string This method accepts both strings and arrays.
Parameters Name Type Description $query string | array The query string or array
Returns Type Description string Old query string
Throws
setUsername (string $username) : stringSets the username for the current URI, and returns the old username
Parameters Name Type Description $username string The HTTP username
Returns Throws
valid () : booleanValidate the current URI from the instance variables.
Returns true if and only if all
+parts pass validation.
Returns
validateFragment (string $fragment = null) : booleanReturns true if and only if the fragment passes validation.
If no fragment is passed,
+then the fragment contained in the instance variable is used.
Parameters Name Type Description $fragment string Fragment of an URI
Returns Throws Details Link http://www.faqs.org/rfcs/rfc2396.html
+
+
validateHost (string $host = null) : booleanReturns true if and only if the host string passes validation.
If no host is passed,
+then the host contained in the instance variable is used.
Parameters Name Type Description $host string The HTTP host
Returns Details Uses \Zend_Filter
+
+
validatePassword (string $password = null) : booleanReturns true if and only if the password passes validation.
If no password is passed,
+then the password contained in the instance variable is used.
Parameters Name Type Description $password string The HTTP password
Returns Throws Details Link http://www.faqs.org/rfcs/rfc2396.html
+
+
validatePath (string $path = null) : booleanReturns true if and only if the path string passes validation.
If no path is passed,
+then the path contained in the instance variable is used.
Parameters Name Type Description $path string The HTTP path
Returns Throws
validatePort (string $port = null) : booleanReturns true if and only if the TCP port string passes validation.
If no port is passed,
+then the port contained in the instance variable is used.
Parameters Name Type Description $port string The HTTP port
Returns
validateQuery (string $query = null) : booleanReturns true if and only if the query string passes validation.
If no query is passed,
+then the query string contained in the instance variable is used.
Parameters Name Type Description $query string The query to validate
Returns Throws Details Link http://www.faqs.org/rfcs/rfc2396.html
+
+
validateUsername (string $username = null) : booleanReturns true if and only if the username passes validation.
If no username is passed,
+then the username contained in the instance variable is used.
Parameters Name Type Description $username string The HTTP username
Returns Throws Details Link http://www.faqs.org/rfcs/rfc2396.html
+
+
--
cgit v1.2.3