Author: ts Date: Tue Mar 4 12:24:00 2008 New Revision: 7513 Log: - Fixed issue #12630: Add link to ezcDialogNoValidResultException in ezcConsoleDialog::getResult() API doc.
Modified: trunk/ConsoleTools/ChangeLog trunk/ConsoleTools/src/dialog/menu_dialog.php trunk/ConsoleTools/src/dialog/question_dialog.php trunk/ConsoleTools/src/interfaces/dialog.php Modified: trunk/ConsoleTools/ChangeLog ============================================================================== --- trunk/ConsoleTools/ChangeLog [iso-8859-1] (original) +++ trunk/ConsoleTools/ChangeLog [iso-8859-1] Tue Mar 4 12:24:00 2008 @@ -17,6 +17,9 @@ - Fixed issue #12623: console menu dialog handles unexisting options wrong. - Fxied issue #12636: ezcConsoleOutput->outputLine() prints EOL always to STDOUT instead of the defined target. +- Fixed issue #12630: Add link to ezcDialogNoValidResultException in + ezcConsoleDialog::getResult() API doc. + 1.3.2 - Monday 14 January 2008 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Modified: trunk/ConsoleTools/src/dialog/menu_dialog.php ============================================================================== --- trunk/ConsoleTools/src/dialog/menu_dialog.php [iso-8859-1] (original) +++ trunk/ConsoleTools/src/dialog/menu_dialog.php [iso-8859-1] Tue Mar 4 12:24:00 2008 @@ -76,8 +76,10 @@ * * @return mixed The retreived result. * - * @throws ezcConsoleNoValidDialogResultException - * if no valid result was retreived, yet. + * @throws ezcDialogNoValidResultException + * if this method is called without a valid result being retrieved + * by the object. Use [EMAIL PROTECTED] hasValidResult()} to avoid this + * exception. */ public function getResult() { Modified: trunk/ConsoleTools/src/dialog/question_dialog.php ============================================================================== --- trunk/ConsoleTools/src/dialog/question_dialog.php [iso-8859-1] (original) +++ trunk/ConsoleTools/src/dialog/question_dialog.php [iso-8859-1] Tue Mar 4 12:24:00 2008 @@ -85,8 +85,10 @@ * * @return mixed The retreived result. * - * @throws ezcConsoleNoValidDialogResultException - * if no valid result was retreived, yet. + * @throws ezcDialogNoValidResultException + * if this method is called without a valid result being retrieved + * by the object. Use [EMAIL PROTECTED] hasValidResult()} to avoid this + * exception. */ public function getResult() { Modified: trunk/ConsoleTools/src/interfaces/dialog.php ============================================================================== --- trunk/ConsoleTools/src/interfaces/dialog.php [iso-8859-1] (original) +++ trunk/ConsoleTools/src/interfaces/dialog.php [iso-8859-1] Tue Mar 4 12:24:00 2008 @@ -41,10 +41,15 @@ /** * Returns the result retrieved. * If no valid result was retreived, yet, this method should throw an - * ezcDialogNoValidResultException. Otherwise this method returns the - * result. + * [EMAIL PROTECTED] ezcDialogNoValidResultException}. Otherwise this method returns + * the result. * * @return mixed The retreived result. + * + * @throws ezcDialogNoValidResultException + * if this method is called without a valid result being retrieved + * by the object. Use [EMAIL PROTECTED] hasValidResult()} to avoid this + * exception. */ public function getResult(); -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components