Hello,
I would like to know what is the best practice in order to add a custom PHP
class to eGW in order to use it in a module somehow. Should I:
include_once(EGW_INCLUDE_ROOT. ‘/mymodule/inc/some_class_i_want_to_use.php’)
or is there another way?
Yes, that would work, and would probably be the easiest.
eGW can autoload classes, but they must conform to eGW’s naming
scheme, and you don’t want to start renaming external modules.
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers