32 if ($lic_set->get(
"license_counter"))
62 $query =
'SELECT licenses, used FROM license_data WHERE obj_id = %s';
63 $result = $ilDB->queryF(
$query, array(
'integer'), array($a_obj_id));
68 if (
$row->licenses == 0
81 $query =
'SELECT read_count FROM read_event ' 82 .
'WHERE usr_id = %s AND obj_id = %s';
85 array(
'integer',
'integer'),
86 array($a_usr_id, $a_obj_id));
static _isEnabled()
Check, if licencing is enabled This check is called from the ilAccessHandler class.
static _checkAccess($a_usr_id, $a_obj_id)
Check, if a user can access an object by license.