- $modules = func_get_args();
- call_user_func_array(array(&$this, 'Platal'), $modules);
-
- global $globals;
- if ($globals->asso()) {
- if ($p = strpos($this->path, '/')) {
- $this->ns = substr($this->path, 0, $p).'/';
- $this->path = '%grp'.substr($this->path, $p);
- } else {
- $this->ns = $this->path.'/';
- $this->path = '%grp';
- }
- }
- }
-
- function find_nearest_key($key, &$array)
- {
- global $globals;
- $k = parent::find_nearest_key($key, $array);
- if (is_null($k) && in_array('%grp', array_keys($array)) && $globals->asso()) {
- return '%grp';
- }
- return $k;
+ parent::__construct('xnet', 'xnetgrp', 'xnetlists', 'xnetevents',
+ 'payment', 'bandeau', 'xnetnl', 'geoloc');