list_getModLogEntryCount

Description

Returns the number of log entries matching the specified parameters

Syntax

int list_getModLogEntryCount ([string $query_string[, array $query_params[, int $log_type]]])



Parameter $query_string

Expected type: String
Description: Additional SQL to stick into the WHERE clause to restrict the results



Parameter $query_params

Expected type: Array
Description: An array of parameters to be injected into the query_string



Parameter $log_type

Expected type: Integer
Description: Indicates which log we're looking at - 1 for the mod log, 3 for the admin log. Defaults to 1.



Return value

Expected type: Integer
Description: The number of log entries matching the given parameters


Advertisement: