Метод | Описание | |
---|---|---|
__construct ( string $id, array $data = [] ) | Constructor. Sets up the properties. | |
activate ( ) : static | Activates the module. | |
deactivate ( ) : static | Deactivates the module. | |
description ( ) : string | Returns the description of the module. | |
id ( ) : string | Returns the ID of the module. | |
is_active ( ) : boolean | Checks if the module is active. | |
name ( ) : string | Returns the name of the module. |
public __construct ( string $id, array $data = [] ) | ||
$id | string | Module ID. |
$data | array | Optional. Module data. Defaults to empty array. |
public activate ( ) : static | ||
Результат | static | Module instance. |
public deactivate ( ) : static | ||
Результат | static | Module instance. |
public description ( ) : string | ||
Результат | string | The description of the module. |