[horde] docs on methods used in the framework

Nico Galoppo scratch at ace.ulyssis.org
Thu Apr 19 14:18:38 PDT 2001


--* Nico Galoppo (Thu, Apr 19, 2001 at 10:50:19PM +0200) *--

> I'm especially intrigues by the factory() function. Is it called by the
> Prefs constructor, or do you have to call it explicitely? (OK, I admit,
> I'm lazy, I should read the code).

Sorry, I think I found the (easy) answer already. The factory method
lets you associate an object with a concrete storage method right?

So I should do the following:

$myPrefs = new Prefs;
$myPrefs->factory('sql', $params);

Right? or rather:

$myPrefs = Prefs::factory('sql', $params);

Also, are the parameters documented somewhere, or should I dig through
the code?

Thanks,

--nico

--
nico galoppo   -   tremelo/leuven, belgium
               -   erasmus/socrates student in grenoble, france
               -   4, rue béranger -- phone: +33-(0)76-85 23 19
---------------------------------------------------------------
[bash]:~$ man woman                 nico at crossbar dot net
No manual entry for woman           debian linux :: vim powered





More information about the horde mailing list