Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

infra-geo-ouverte/module-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dans modules.json:
{
	"demo": {
	    "options": {
			"repository": "git@github.com:infra-geo-ouverte/module-demo.git",
			"branch": "master",
			"directory": "modules/demo/"
	    }
	}
}



Ajouter un js: 
voir public/js/

Ajouter un api:
voir api/ et controllers/ApiController.php
Appel:  http://localhost/api/demo/test/

Ajouter html:
voir views/ et controllers/moduleControlller.php

Ajuster des logs pour ce module:
voir logging/
Code: $this->di->get('demoLogger')->logErreur("No module config");