Using my component class methods in my module ? - Joomla! Forum - community, help and support
hi,
i'd use methods of component class in module
how ?
i saw similar post on forum it's not clear me.
http://forum.joomla.org/viewtopic.php?f=47&t=343088
should import class in helper.php of module use
it as: ?
an other thing how use import methods (jimport, import) ?
my component file wich contain class need located here:
how can import class location jimport or import ?
thanks help.
i'd use methods of component class in module
how ?
i saw similar post on forum it's not clear me.
http://forum.joomla.org/viewtopic.php?f=47&t=343088
should import class in helper.php of module use
it as:
code: select all
myclass::mymethod();
an other thing how use import methods (jimport, import) ?
my component file wich contain class need located here:
administrator/components/com_mycomponent/controllers/myfile.php
how can import class location jimport or import ?
thanks help.
why don't use require_once?
olaf
code: select all
require_once(jpath_administrator . ds . 'components' . ds . 'com_mycomponent' . ds . 'controllers' . ds . 'myfile.php');
olaf
Comments
Post a Comment