Changeset 1236
- Timestamp:
- 11/04/06 22:49:49 (2 years ago)
- Location:
- trunk/src/controller
- Files:
-
- 2 modified
-
AgaviController.class.php (modified) (6 diffs)
-
AgaviWebController.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/controller/AgaviController.class.php
r1131 r1236 201 201 * @param string A module name. 202 202 * @param string An action name. 203 * @param array|AgaviParameterHolder Additional parameters which will be 204 * passed to the action. 203 205 * 204 206 * @throws <b>AgaviConfigurationException</b> If an invalid configuration 205 207 * setting has been found. 206 * @throws <b>AgaviForwardException</b> If an error occurs while forwarding207 * the request.208 * @throws <b>AgaviForwardException</b> If an error occurs while 209 * forwarding the request. 208 210 * @throws <b>AgaviInitializationException</b> If the action could not be 209 211 * initialized. 210 * @throws <b>AgaviSecurityException</b> If the action requires security but211 * the user implementation is not of212 * type SecurityUser.212 * @throws <b>AgaviSecurityException</b> If the action requires security 213 * but the user implementation is 214 * not of type SecurityUser. 213 215 * 214 216 * @author Sean Kerr <skerr@mojavi.org> … … 705 707 * @param int A rendering mode. 706 708 * 707 * @throws <b>AgaviRenderException</b> - If an invalid render mode has been708 * set.709 * @throws <b>AgaviRenderException</b> - If an invalid render mode has 710 * been set. 709 711 * 710 712 * @author Sean Kerr <skerr@mojavi.org> … … 760 762 * @return bool Whether or not the operation was successful. 761 763 * 762 * @throws <b>AgaviException</b> If the given output type doesnt exist. 764 * @throws <b>AgaviConfigurationException</b> If the given output type 765 * doesnt exist. 763 766 * 764 767 * @author David Zuelke <dz@bitxtender.com> … … 774 777 return false; 775 778 } else { 776 throw new Agavi Exception('Output Type "' . $outputType . '" has not been configured.');779 throw new AgaviConfigurationException('Output Type "' . $outputType . '" has not been configured.'); 777 780 } 778 781 } … … 798 801 * @return array An associative array of output type settings and params. 799 802 * 800 * @throws <b>AgaviException</b> If the given output type doesnt exist. 803 * @throws <b>AgaviConfigurationException</b> If the given output type 804 * doesnt exist. 801 805 * 802 806 * @author David Zuelke <dz@bitxtender.com> … … 811 815 return $this->outputTypes[$outputType]; 812 816 } else { 813 throw new Agavi Exception('Output Type "' . $outputType . '" has not been configured.');817 throw new AgaviConfigurationException('Output Type "' . $outputType . '" has not been configured.'); 814 818 } 815 819 } -
trunk/src/controller/AgaviWebController.class.php
r1131 r1236 34 34 * Initialize this controller. 35 35 * 36 * @param Agavi Context An AgaviContextinstance.37 * @param array An array of initialization parameters.36 * @param AgaviResponse An AgaviResponse instance. 37 * @param array An array of initialization parameters. 38 38 * 39 39 * @author Sean Kerr <skerr@mojavi.org> … … 50 50 51 51 /** 52 * Redirects to a given URL using the http Location header. 53 * 54 * @param string The URL. 55 * 52 56 * @see AgaviController::redirect() 53 57 */

