configCtrl
extends jController
in package
Lizmap administration.
Tags
Table of Contents
Properties
- $pluginParams : mixed
Methods
- editServices() : jResponseHtml|jResponseRedirect
- Display the form to modify the services.
- index() : jResponseHtml
- Display a summary of the information taken from the ~ configuration file.
- modifyServices() : jResponseRedirect
- Modification of the services configuration.
- saveServices() : jResponseRedirect
- Save the data for the services section.
- prepareServicesForm() : mixed
Properties
$pluginParams
public
mixed
$pluginParams
= array('*' => array('jacl2.right' => 'lizmap.admin.access'), 'index' => array('jacl2.rights.and' => array('lizmap.admin.access', 'lizmap.admin.services.view')), 'modifyServices' => array('jacl2.right' => 'lizmap.admin.services.update'), 'editServices' => array('jacl2.right' => 'lizmap.admin.services.update'), 'saveServices' => array('jacl2.right' => 'lizmap.admin.services.update'))
Methods
editServices()
Display the form to modify the services.
public
editServices() : jResponseHtml|jResponseRedirect
Return values
jResponseHtml|jResponseRedirect —display the form
index()
Display a summary of the information taken from the ~ configuration file.
public
index() : jResponseHtml
Return values
jResponseHtmlmodifyServices()
Modification of the services configuration.
public
modifyServices() : jResponseRedirect
Return values
jResponseRedirect —Redirect to the form display action
saveServices()
Save the data for the services section.
public
saveServices() : jResponseRedirect
Return values
jResponseRedirect —redirect to the index
prepareServicesForm()
protected
prepareServicesForm(jFormsBase $form, lizmapServices $services) : mixed
Parameters
- $form : jFormsBase
- $services : lizmapServices