$log→getTotalEntries()
Get the total number of entries present in the given log
Usage
$int = $log->getTotalEntries(string $name);Arguments
| Name | Type(s) | Description |
|---|---|---|
$name | string | Name of log, not including path or extension |
Return value
intTotal number of entries
API reference based on ProcessWire core version 3.0.253