I need to get all module's helpers, can you explain me, how can i do it?
PS: I see only one way - scandir() Helper directory and no more ideas.
Not sure if you want a complete list of all extensions with there helper or all helpers from a specific extension.
With this code you can get a list of all extensions with there helper directory paths:
$nodes = Mage::getConfig()->getNode('global/helpers')->asArray();
foreach ($nodes as $code => $data) {
echo $code.' => '.$data['class'].' => '.Mage::getModuleDir('Helper', $data['class'])."\n";
}
For getting all the available helper files from one extension, I also can't think of an other way than scanning all available files in that extensions helper directory.
Data
helpers? Can you explain a bit why you need them. Maybe there is an other way