Re: Re: [midcom-cvs] CVS update: /midcom/fs-midcom/lib/no/bergfald/rcs/

Tarjei Huse <tarjei-y/[email protected]>
Newsgroups gmane.comp.web.midgard.devel
Message-ID <1137249777.4968.11.camel@localhost>
On lør, 2006-01-14 at 15:29 +0100, [email protected] wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> - --- On 14.01.06 14:23 (-0000) [email protected] wrote:
> 
> > User: tarjei
> > Date: 2006/01/14 06:23:53
> >
> > Modified:
> >   midcom/fs-midcom/lib/no/bergfald/rcs/rcs.php
> >   midcom/fs-midcom/lib/no/bergfald/rcs/handler.php
> >
> > Log:
> > Bugfixing
> >
> > File Changes:
> > [...]
> >     function _on_initialize()
> >     {
> > -
> > +        // It is better to load this libraries here as the component isn't always loaded.
> > +        $_MIDCOM->load_library('midcom.helper.datamanager', 'midcom.helper.xml');
> >     }
> 
> Why not adding them to the autoload list of trhe library?
I might (as normal) be way out here, but do you load the interface class
if you instance the handler class from another component?

Tarjei
> 
> Live long and prosper!
> Torben Nehmer
> 
> - -- 
> Torben Nehmer, Guenzburg, Bavaria, Germany
> http://www.nathan-syntronics.de, mailto:[email protected]
> PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Made with pgp4pine 1.76
> 
> iD8DBQFDyQrgJPh4Kn6d5FYRAoaOAKCu1+NXbxnDzY1F2MXGC4bIdSNpCgCZAXuX
> wOEv3u9jxzsoJTFyr6EADSQ=
> =DcRG
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> For additional commands, e-mail: [email protected]
> 
-- 
Tarjei Huse <tarjei-y/[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.