|
static | countByActions () |
|
static | deleteExpired () |
|
static | exportUserData (StoredUserData $storage) |
|
static | tableScheme ($db_table) |
|
static | expireTableScheme () |
|
static | exists ($id) |
|
static | countBySql ($sql='1', $params=[]) |
|
static | create ($data) |
|
static | build ($data, $is_new=true) |
|
static | buildExisting ($data) |
|
static | import ($data) |
|
static | findBySQL ($sql, $params=[]) |
|
static | findOneBySQL ($where, $params=[]) |
|
static | findThru ($foreign_key_value, $options) |
|
static | findEachBySQL ($callable, $sql, $params=[]) |
|
static | findMany ($pks=[], $order='', $order_params=[]) |
|
static | findEachMany ($callable, $pks=[], $order='', $order_params=[]) |
|
static | findAndMapBySQL ($callable, $where, $params=[]) |
|
static | findAndMapMany ($callable, $pks=[], $order='', $order_params=[]) |
|
static | deleteBySQL ($where, $params=[]) |
|
static | toObject ($id_or_object) |
|
static | __callStatic (string $name, array $arguments) |
|
◆ configure()
static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
◆ countByActions()
static countByActions |
( |
| ) |
|
|
static |
Returns the number of log events counted by actions as an array where the ey is the action id and the value is the number of events for this action.
- Returns
- array Number of loge events for all actions
◆ deleteExpired()
Deletes all expired events.
- Returns
- int Number of deleted events.
◆ exportUserData()
Export available data of a given user into a storage object (an instance of the StoredUserData class) for that user.
- Parameters
-
Implements PrivacyObject.
◆ formatCallback()
◆ formatEvent()
Returns the formatted log event. Fills the action template with data of this event.
- Returns
- string The formatted log event.
◆ formatInstitute()
formatInstitute |
( |
|
$field | ) |
|
|
protected |
Returns the name of the institute for the id found in the given field or the id if the institute is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of institute or the id.
◆ formatObject()
◆ formatPlugin()
Returns the name of the plugin for the id found in the given field or the id if the plugin is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of plugin or the id.
◆ formatResource()
Returns the name of the resource for the resource id found in the given field or the resource id if the resource is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of the resource or resource id.
◆ formatSemester()
Returns the name of the semester for the id found in the given field or the id if the seminar is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of semester or the id.
◆ formatSeminar()
Returns the name of the seminar for the id found in the given field or the id if the seminar is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of seminar or the id.
◆ formatSingledate()
formatSingledate |
( |
|
$field | ) |
|
|
protected |
Returns the singledate for the id found in the given field.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The singledate.
◆ formatStatusgruppe()
formatStatusgruppe |
( |
|
$field | ) |
|
|
protected |
Returns the name of the statusgroup for the id found in the given field or the id if the group is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of statusgruppe or the id.
◆ formatStudyarea()
formatStudyarea |
( |
|
$field | ) |
|
|
protected |
Returns the name of the study area for the id found in the given field or the id if the study area is unknown.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of seminar or the id.
◆ formatUsername()
Returns the name of the user with the id found in the given field.
- Parameters
-
string | $field | The name of the table field. |
- Returns
- string The name of the user.
◆ $formatted_text
The documentation for this class was generated from the following file: