Definition at line 15 of file Tool.php.
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.
Elgg\Groups\Tool::__get |
( |
|
$name | ) |
|
Elgg\Groups\Tool::__set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
Elgg\Groups\Tool::getDescription |
( |
| ) |
|
Get tool description.
- Returns
- string|null
Definition at line 90 of file Tool.php.
Elgg\Groups\Tool::getID |
( |
| ) |
|
Elgg\Groups\Tool::getLabel |
( |
| ) |
|
Get tool label.
- Returns
- string
Definition at line 76 of file Tool.php.
Elgg\Groups\Tool::getPriority |
( |
| ) |
|
Elgg\Groups\Tool::isEnabledByDefault |
( |
| ) |
|
Is the tool enabled by default?
- Returns
- bool
Definition at line 104 of file Tool.php.
Elgg\Groups\Tool::mapMetadataName |
( |
| ) |
|
Get metadata name for DB storage.
- Returns
- string
Definition at line 119 of file Tool.php.
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.
array Elgg\Groups\Tool::$options |
|
protected |
The documentation for this class was generated from the following file: