mycred_has_entry

Description

Used by the has_entry() class method when checking if a particular log entry exists for a given user. Mainly used to make sure log entries are unique.

Available since version 1.3

Parameters

Param Type Required Description
$result bool Yes

Returns TRUE if the log entry exists or FALSE.

$reference string No

The reference being checked. Is NULL if not used.

$ref_id int No

The reference ID being checked. Is NULL if not used.

$user_id int No

The user ID being checked. Is NULL if not used.

$data string No

The log data being checked. If used, this can be a string or a serialized array. Is NULL if not used.

$type string No

The point type being checked.

Used By

Package Prio. Description
Not used by any built-in package.

Examples

No example found.