## Apache Zeta Components Manual :: File Source for result_status_object.php

## Source for file result_status_object.php

Documentation is available at result_status_object.php

1. <?php
2. /**
3. * File containing the ezcMvcResultStatusObject class
4. *
5. * Licensed to the Apache Software Foundation (ASF) under one
6. * or more contributor license agreements. See the NOTICE file
7. * distributed with this work for additional information
8. * regarding copyright ownership. The ASF licenses this file
9. * to you under the Apache License, Version 2.0 (the
10. * "License"); you may not use this file except in compliance
11. * with the License. You may obtain a copy of the License at
12. *
13. * http://www.apache.org/licenses/LICENSE-2.0
14. *
15. * Unless required by applicable law or agreed to in writing,
16. * software distributed under the License is distributed on an
17. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18. * KIND, either express or implied. See the License for the
19. * specific language governing permissions and limitations
20. * under the License.
21. *
22. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
23. * @version //autogentag//
24. * @filesource
25. * @package MvcTools
26. */
28. /**
29. * The interface that should be implemented by all special status objects.
30. *
31. * Statis objects are used to specify non-normal results from actions.
32. * As an example that could be a "Authorization Required" status, an external
33. * redirect etc.
34. *
35. *
36. * @package MvcTools
37. * @version //autogentag//
38. */
39. interface ezcMvcResultStatusObject
40. {
41. /**
42. * This method is called by the response writers to process the data
43. * contained in the status objects.
44. *
45. * The process method it responsible for undertaking the proper action
46. * depending on which response writer is used.
47. *
48. * @param ezcMvcResponseWriter $writer
49. */
50. public function process ( ezcMvcResponseWriter $writer );
51. }
52. ?>

Documentation generated by phpDocumentor 1.4.3