databaseCtrl
extends jControllerCmdLine
in package
Tags
Table of Contents
Properties
- $help : mixed
- Help.
- $allowed_options : mixed
- Options to the command line 'method_name' => array('-option_name' => true/false) true means that a value should be provided for the option on the command line.
- $allowed_parameters : mixed
- Parameters for the command line 'method_name' => array('parameter_name' => true/false) false means that the parameter is optional. All parameters which follow an optional parameter is optional.
Methods
- migratelog() : mixed
- Migrate log data from a sqlite database to the current database.
- migrateusers() : mixed
- Migrate users data from a sqlite database to the current database.
Properties
$help
Help.
public
mixed
$help
= array('migratelog' => 'Migrate log data from a sqlite database to the current database
Use :
php lizmap/scripts/script.php lizmap~database:migratelog
', 'migrateusers' => 'Migrate users data from a sqlite database to the current database (experimental)
Use :
php lizmap/scripts/script.php lizmap~database:migrateusers
')
$allowed_options
Options to the command line 'method_name' => array('-option_name' => true/false) true means that a value should be provided for the option on the command line.
protected
mixed
$allowed_options
= array('migratelog' => array('-resetbefore' => \false), 'migrateusers' => array('-resetbefore' => \false))
$allowed_parameters
Parameters for the command line 'method_name' => array('parameter_name' => true/false) false means that the parameter is optional. All parameters which follow an optional parameter is optional.
protected
mixed
$allowed_parameters
= array('migratelog' => array(), 'migrateusers' => array())
Methods
migratelog()
Migrate log data from a sqlite database to the current database.
public
migratelog() : mixed
migrateusers()
Migrate users data from a sqlite database to the current database.
public
migrateusers() : mixed