[kronolith] api coding

Jan Schneider jan@horde.org
Thu, 25 Oct 2001 19:22:25 +0200


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Let's say we have a full horde framework, a user chooses to display the
> due
> > tasks in his calendar but after that the administrator disables nag. Now
> the
> > user gets an error message in his calendar all day long and isn't able to
> 
> > switch this preference off anymore.
> 
> If Nag is disabled, you'd get back a PEAR_Error from the function. There
> are
> other scenarios in which Nag isn't disabled, but you might get a PEAR_Error
> back
> anyway. So why not just check the return value?

You're right, I just saw 'raiseError' and thought 'This is 
Horde::raiseMessage'. Don't ask me why! :-(

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::