function classementGen($object_type, $object_id = 0) { if (!isset($_SESSION["classementGen_types"][$object_type])) { classementGen::parseXml(); } $this->object_type = $object_type; if ($object_id) { $this->object_id = $object_id; $this->getLibelle(); } }