25 if (isset($enabled)) {
30 if ($lic_set->get(
"license_counter")) {
59 $query =
'SELECT licenses, used FROM license_data WHERE obj_id = %s';
64 if (
$row->licenses == 0 or
$row->used <
$row->licenses) {
73 $query =
'SELECT read_count FROM read_event ' .
'WHERE usr_id = %s AND obj_id = %s';
static _isEnabled()
Check, if licencing is enabled This check is called from the ilAccessHandler class.
Create styles array
The data for the language used.
static _checkAccess($a_usr_id, $a_obj_id)
Check, if a user can access an object by license.