repositoryCtrl
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
- create() : mixed
Properties
$help
Help.
public
mixed
$help
= array('create' => 'Create repository
parameters:
key the repository id
label the repository name
path the repository path (absolute or relative to root repositories path
optional prameters:
allowUserDefinedThemes boolean to activate the theme capabilities directly in repository
Use:
php lizmap/scripts/script.php lizmap~repository:create key label path [allowUserDefinedThemes]
')
$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()
$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('create' => array('key' => \true, 'label' => \true, 'path' => \true, 'allowUserDefinedThemes' => \false))
Methods
create()
public
create() : mixed