| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
sfResponse provides methods for manipulating client response information such as headers, cookies and content.
| Author: | Fabien Potencier <fabien.potencier@symfony-project.com> |
| Version: | SVN: $Id: sfResponse.class.php 3250 2007-01-12 20:09:11Z fabien $ |
| Poids: | 199 lignes (5 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| initialize($context, $parameters = array() X-Ref |
| Initializes this sfResponse. param: sfContext A sfContext instance return: boolean true, if initialization completes successfully, otherwise false |
| setContext($context) X-Ref |
| Sets the context for the current response. param: sfContext A sfContext instance |
| getContext() X-Ref |
| Retrieves the current application context. return: sfContext The application context |
| newInstance($class) X-Ref |
| Retrieves a new sfResponse implementation instance. param: string A sfResponse implementation name return: sfResponse A sfResponse implementation instance |
| setContent($content) X-Ref |
| Sets the response content param: string Content |
| getContent() X-Ref |
| Gets the current response content return: string Content |
| sendContent() X-Ref |
| Outputs the response content |
| getParameterHolder() X-Ref |
| Retrieves the parameters from the current response. return: sfParameterHolder List of parameters |
| getParameter($name, $default = null, $ns = null) X-Ref |
| Retrieves a parameter from the current response. param: string A parameter name param: string A default paramter value param: string Namespace for the current response return: mixed A parameter value |
| hasParameter($name, $ns = null) X-Ref |
| Indicates whether or not a parameter exist for the current response. param: string A parameter name param: string Namespace for the current response return: boolean true, if the parameter exists otherwise false |
| setParameter($name, $value, $ns = null) X-Ref |
| Sets a parameter for the current response. param: string A parameter name param: string The parameter value to be set param: string Namespace for the current response |
| __call($method, $arguments) X-Ref |
| Overloads a given method. param: string Method name param: string Method arguments return: mixed User function callback |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |