コード例 #1
0
        $paragraph->Backup($handle1, $handle2);
        $privilege = new Privilege();
        $privilege->SetDatabase($database);
        $privilege->Backup($handle1, $handle2);
        $role = new Role();
        $role->SetDatabase($database);
        $role->Backup($handle1, $handle2);
        $menu_item = new MenuItem();
        $menu_item->SetDatabase($database);
        $menu_item->Backup($handle1, $handle2);
        $shout = new Shout();
        $shout->SetDatabase($database);
        $shout->Backup($handle1, $handle2);
        $user_info = new UserInfo();
        $user_info->SetDatabase($database);
        $user_info->Backup($handle1, $handle2);
        $topic = new Topic();
        $topic->SetDatabase($database);
        $topic->Backup($handle1, $handle2);
        $c_message = new Message();
        $c_message->SetDatabase($database);
        $c_message->Backup($handle1, $handle2);
        $moderator = new Moderator();
        $moderator->SetDatabase($database);
        $moderator->Backup($handle1, $handle2);
        fclose($handle1);
        fclose($handle2);
        $message_position = 1;
        $message = "Arquivo criado com sucesso!";
    }
}