[kronolith] api coding

Jan Schneider jan@horde.org
Thu, 25 Oct 2001 14:48:52 +0200


I just had the time to look at it again. And, yes, there is a (hypothetical) 
reason for this: The task preference is only shown in Kronlith if list/tasks is 
available.
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.

Ok, it's very, very hypothetical but possible. :-)

Jan.

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

> Jan - any particular reason you did:
> 
>             $app = $registry->getMethod('tasks/list');
>             if (isset($app)) {
>                 $taskList = $registry->callByPackage($app, 'tasks/list');
> 
> instead of just:
> 
> $taskList = $registry->call('tasks/list');
> 
> ?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> "What was and what may be lie, like children whose faces we cannot see, in 
> the arms of silence. All we ever have is here, now." - Ursula K. Le Guin
> 
> -- 
> Kronolith mailing list: http://horde.org/kronolith/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
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
::::::::::::::::::::::::::::::::::::::::::::::