public function installAction()
    {
        $_altdb = $this->getContainer()->get('request')->getUrlArg('altdb');
        $SQLITE = $this->getContainer()->get('database');
        $tables = \CarteBlanche\Library\AutoObject\AutoObjectMapper::getObjectsStructure( $_altdb );
        if (!empty($tables)) {
            $installed = array();
            foreach ($tables as $table) {
                $err = $SQLITE->add_table( $table['table'], $table['structure'] );
                if (!$err) {
                    trigger_error( "An error occurred while creating table '{$table['table']}'!", E_USER_ERROR);
                }
                $installed[] = $table['table'];
            }
        }
        $this->getContainer()->get('session')
            ->setFlash("ok:".$this->trans('OK - Tables "%list%" created', array('list'=>join("', '", $installed))));
        $this->getContainer()->get('session')->commit();
        $this->getContainer()->get('router')->redirect(
            $this->getContainer()->get('router')->buildUrl('altdb',$_altdb)
        );
    }