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:

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?

code: select all

require_once(jpath_administrator . ds . 'components' . ds  . 'com_mycomponent' . ds . 'controllers' . ds . 'myfile.php');


olaf





Comments

Popular posts from this blog

Using Arduino Uno R3 to bootload the atmega328-PU (non pico)

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support

How to update nested ListCollectionViews?