Definition at line 15 of file Tool.php.
◆ __construct()
| Elgg\Groups\Tool::__construct |
( |
public string |
$name, |
|
|
array |
$options = [] |
|
) |
| |
Constructor.
- Parameters
-
| string | $name | Tool name |
| array | $options | Tool options |
Definition at line 25 of file Tool.php.
◆ __get()
| Elgg\Groups\Tool::__get |
( |
|
$name | ) |
|
◆ __set()
| Elgg\Groups\Tool::__set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
◆ getDescription()
| Elgg\Groups\Tool::getDescription |
( |
| ) |
|
Get tool description.
- Returns
- string|null
Definition at line 90 of file Tool.php.
◆ getID()
| Elgg\Groups\Tool::getID |
( |
| ) |
|
◆ getLabel()
| Elgg\Groups\Tool::getLabel |
( |
| ) |
|
Get tool label.
- Returns
- string
Definition at line 76 of file Tool.php.
◆ getPriority()
| Elgg\Groups\Tool::getPriority |
( |
| ) |
|
◆ isEnabledByDefault()
| Elgg\Groups\Tool::isEnabledByDefault |
( |
| ) |
|
Is the tool enabled by default?
- Returns
- bool
Definition at line 104 of file Tool.php.
◆ mapMetadataName()
| Elgg\Groups\Tool::mapMetadataName |
( |
| ) |
|
Get metadata name for DB storage.
- Returns
- string
Definition at line 119 of file Tool.php.
◆ mapMetadataValue()
| Elgg\Groups\Tool::mapMetadataValue |
( |
|
$value = null | ) |
|
Get metadata value for DB storage.
- Parameters
-
| mixed | $value | Input value Defaults to 'default_on' property |
- Returns
- string
Definition at line 131 of file Tool.php.
◆ $options
| array Elgg\Groups\Tool::$options |
|
protected |
The documentation for this class was generated from the following file: