/** * constructor * project : the project has a lizmapProject Class * params : the params array */ public function __construct($project, $params) { //print_r( $project != null ); $this->project = $project; $this->repository = $project->getRepository(); $this->services = lizmap::getServices(); $params['map'] = realpath($this->repository->getPath()) . '/' . $project->getKey() . ".qgs"; $this->params = lizmapProxy::normalizeParams($params); }