[eluser]Nummero2[/eluser]
Now I got the following idea:
Code:
$this->load->helpers();
$files = glob(APPPATH.'helpers/*_helper.php');
foreach($files as $key=>$file)
{
$files[$key] = str_replace('_helper.php','',substr(strrchr($file,'/'),1));
}
foreach ($this as $B) {
if (function_exists('canvas_helper_test')) {
$this->mymenue->hinweis = "Test: css_helper ";
$canvas = canvas_helper_test();
break;
} else {
echo "IMAP-Funktionen sind nicht verfügbar.<br />\n";
}
}
The first part gives me the helper names (canvas, css and so on) and puts it in an array $files .
Can I use that for my purpose somehow? Like:
Code:
if (function_exists('$files_helper_test')) {
or something similiar?
Frustrating :-(
Greetings