Hi FunkeMT,
da ist ein grundsätzlicher Fehler drin. createform ist keine Methode, sondern ein Key. Diesem weißt Du in der config/config.php eine Klasse und eine Methode zu.
PHP-Code:
/**
* $GLOBALS['BE_MOD'] = array
* (
* 'group_1' => array
* (
* 'module_1' => array
* (
* 'tables' => array('table_1', 'table_2'),
* 'key' => array('Class', 'method')
* )
* )
* );
*/
Die Klasse kannst Du im Prinzip speichern wo Du willst, solange das normale Autoloading greift. Viele Erklärungen und Beispiele findest Du in meinem Blog unter: https://easySolutionsIT.de/blog.html
Lesezeichen