hasModule() public method
Checks whether the child module of the specified ID exists.
This method supports checking the existence of both child and grand child modules.
public boolean hasModule ( $id ) | ||
---|---|---|
$id | string |
Module ID. For grand child modules, use ID path relative to this module (e.g. |
return | boolean |
Whether the named module exists. Both loaded and unloaded modules are considered. |
Please login to continue.