| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 865 lignes (22 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
sfWebRequest:: (38 méthodes):
getFile()
getFileError()
getFileName()
getFileNames()
getFiles()
getFilePath()
getFileSize()
getFileType()
hasFile()
hasFileError()
hasFileErrors()
hasFiles()
getFileValue()
getFileValues()
getFileExtension()
initialize()
getPathInfoArray()
getUri()
isAbsUri()
getUriPrefix()
getPathInfo()
loadParameters()
moveFile()
getReferer()
getHost()
getScriptName()
getMethodName()
getLanguages()
getCharsets()
getAcceptableContentTypes()
isXmlHttpRequest()
getHttpHeader()
getCookie()
isSecure()
getRelativeUrlRoot()
setRelativeUrlRoot()
shutdown()
splitHttpAcceptHeader()
Classe: sfWebRequest - X-Ref
sfWebRequest class.| getFile($name) X-Ref |
| Retrieves an array of file information. param: string A file name return: array An associative array of file information, if the file exists, otherwise null |
| getFileError($name) X-Ref |
| Retrieves a file error. param: string A file name return: int One of the following error codes: |
| getFileName($name) X-Ref |
| Retrieves a file name. param: string A file nam. return: string A file name, if the file exists, otherwise null |
| getFileNames() X-Ref |
| Retrieves an array of file names. return: array An indexed array of file names |
| getFiles() X-Ref |
| Retrieves an array of files. return: array An associative array of files |
| getFilePath($name) X-Ref |
| Retrieves a file path. param: string A file name return: string A file path, if the file exists, otherwise null |
| getFileSize($name) X-Ref |
| Retrieve a file size. param: string A file name return: int A file size, if the file exists, otherwise null |
| getFileType($name) X-Ref |
| Retrieves a file type. This may not be accurate. This is the mime-type sent by the browser during the upload. param: string A file name return: string A file type, if the file exists, otherwise null |
| hasFile($name) X-Ref |
| Indicates whether or not a file exists. param: string A file name return: boolean true, if the file exists, otherwise false |
| hasFileError($name) X-Ref |
| Indicates whether or not a file error exists. param: string A file name return: boolean true, if the file error exists, otherwise false |
| hasFileErrors() X-Ref |
| Indicates whether or not any file errors occured. return: boolean true, if any file errors occured, otherwise false |
| hasFiles() X-Ref |
| Indicates whether or not any files exist. return: boolean true, if any files exist, otherwise false |
| getFileValue($name, $key) X-Ref |
| Retrieves a file value. param: string A file name param: string Value to search in the file return: string File value |
| getFileValues($name) X-Ref |
| Retrieves all the values from a file. param: string A file name return: array Associative list of the file values |
| getFileExtension($name) X-Ref |
| Retrieves an extension for a given file. param: string A file name return: string Extension for the file |
| initialize($context, $parameters = array() X-Ref |
| Initializes this sfRequest. param: sfContext A sfContext instance param: array An associative array of initialization parameters param: array An associative array of initialization attributes return: boolean true, if initialization completes successfully, otherwise false |
| getPathInfoArray() X-Ref |
| Returns the array that contains all request information ($_SERVER or $_ENV). This information is stored in the [sf_path_info_array] constant. return: array Path information |
| getUri() X-Ref |
| Retrieves the uniform resource identifier for the current web request. return: string Unified resource identifier |
| isAbsUri() X-Ref |
| See if the client is using absolute uri return: boolean true, if is absolute uri otherwise false |
| getUriPrefix() X-Ref |
| Returns Uri prefix, including protocol, hostname and server port. return: string Uniform resource identifier prefix |
| getPathInfo() X-Ref |
| Retrieves the path info for the current web request. return: string Path info |
| loadParameters() X-Ref |
| Loads GET, PATH_INFO and POST data into the parameter list. |
| moveFile($name, $file, $fileMode = 0666, $create = true, $dirMode = 0777) X-Ref |
| Moves an uploaded file. param: string A file name param: string An absolute filesystem path to where you would like the param: int The octal mode to use for the new file param: boolean Indicates that we should make the directory before moving the file param: int The octal mode to use when creating the directory return: boolean true, if the file was moved, otherwise false |
| getReferer() X-Ref |
| Returns referer. return: string |
| getHost() X-Ref |
| Returns current host name. return: string |
| getScriptName() X-Ref |
| Returns current script name. return: string |
| getMethodName() X-Ref |
| Returns request method. return: string |
| getLanguages() X-Ref |
| Gets a list of languages acceptable by the client browser return: array Languages ordered in the user browser preferences |
| getCharsets() X-Ref |
| Gets a list of charsets acceptable by the client browser. return: array List of charsets in preferable order |
| getAcceptableContentTypes() X-Ref |
| Gets a list of content types acceptable by the client browser return: array Languages ordered in the user browser preferences |
| isXmlHttpRequest() X-Ref |
| Returns true id the request is a XMLHttpRequest (via prototype 'HTTP_X_REQUESTED_WITH' header). return: boolean |
| getHttpHeader($name, $prefix = 'http') X-Ref |
| Pas de description |
| getCookie($name, $defaultValue = null) X-Ref |
| Gets a cookie value. return: mixed |
| isSecure() X-Ref |
| Returns true if the current request is secure (HTTPS protocol). return: boolean |
| getRelativeUrlRoot() X-Ref |
| Retrieves relative root url. return: string URL |
| setRelativeUrlRoot($value) X-Ref |
| Sets the relative root url for the current web request. param: string Value for the url |
| shutdown() X-Ref |
| Executes the shutdown procedure. |
| splitHttpAcceptHeader($header) X-Ref |
| Splits an HTTP header for the current web request. param: string Header to split |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |