PHP Classes
elePHPant
Icontem

File: phpbb.3.0.11/includes/acp/info/acp_database.php

Recommend this page to a friend!
  Classes of Uracos  >  PHPBB Db Tools  >  phpbb.3.0.11/includes/acp/info/acp_database.php  >  Download  
File: phpbb.3.0.11/includes/acp/info/acp_database.php
Role: Class source
Content type: text/plain
Description: info/acp_database
Class: PHPBB Db Tools
Take backups and restore a PHPBB database data
Author: By
Last change:
Date: 4 years ago
Size: 1,081 bytes
 

 

Contents

Class file image Download
<?php
/**
*
* @package acp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @package module_install
*/
class acp_database_info
{
    function
module()
    {
        return array(
           
'filename' => 'acp_database',
           
'title' => 'ACP_DATABASE',
           
'version' => '1.0.0',
           
'modes' => array(
               
'backup' => array('title' => 'ACP_BACKUP', 'auth' => 'acl_a_backup', 'cat' => array('ACP_CAT_DATABASE')),
               
'restore_config' => array('title' => 'ACP_RESTORE_CONFIG', 'auth' => 'acl_a_backup', 'cat' => array('ACP_CAT_DATABASE')),
               
'restore_forums' => array('title' => 'ACP_RESTORE_FORUMS', 'auth' => 'acl_a_backup', 'cat' => array('ACP_CAT_DATABASE')),
               
'restore_posts' => array('title' => 'ACP_RESTORE_POSTS', 'auth' => 'acl_a_backup', 'cat' => array('ACP_CAT_DATABASE')),
               
'restore' => array('title' => 'ACP_RESTORE', 'auth' => 'acl_a_backup', 'cat' => array('ACP_CAT_DATABASE')),
            ),
        );
    }

    function
install()
    {
    }

    function
uninstall()
    {
    }
}

?>