/** * Count objects * * @return int */ function countObjects() { $idex = new CIdSante400(); $idex->tag = $this->tag; $this->_count_objects = $idex->countMatchingList(); $where = array("tag" => " = '{$this->tag}'"); return $this->_detail_objects = $idex->countMultipleList($where, null, "object_class", null, array("object_class"), "tag"); }