Returns the database ID of a given module class, or 0 if not found
Usage
$int = $modules->getModuleID($class);
Arguments
Name | Type(s) | Description |
---|---|---|
class | string, int, Module | Module, module name or ID |
Return value
int
$modules methods and properties
API reference based on ProcessWire core version 3.0.236