It can be done with the installer class like:
require_once(AK_LIB_DIR.DS.'AkInstaller.php');
$Installer = new AkInstaller();
$Installer->createTable('table_name', 'id, name, description');
I would create a model for handling dynamic table creation (something named DynamicTableManager) and then call the DynamicTableManager::createTable from controllers.
1 to 4 of 4