Definition at line 17 of file WidgetsService.php.
Elgg\WidgetsService::canEditLayout |
( |
|
$context, |
|
|
|
$user_guid = 0 |
|
) |
| |
Elgg\WidgetsService::createWidget |
( |
|
$owner_guid, |
|
|
|
$handler, |
|
|
|
$context, |
|
|
|
$access_id = null |
|
) |
| |
Elgg\WidgetsService::getAllTypes |
( |
| ) |
|
Elgg\WidgetsService::getNameById |
( |
|
$id, |
|
|
|
$context = '' , |
|
|
\ElggEntity |
$container = null |
|
) |
| |
Returns widget name based on id.
- Parameters
-
string | $id | Widget identifier |
string | $context | Context to check |
\ElggEntity | $container | Optional limit widget definitions to a container |
- Returns
- string|boolean
private
- Since
- 2.2.0
Definition at line 221 of file WidgetsService.php.
Elgg\WidgetsService::getTypes |
( |
array |
$params = [] | ) |
|
- Parameters
-
$params | Associative array of params used to determine what to return |
array ( 'context' => string (defaults to elgg_get_context()), 'exact' => bool (defaults to false), 'container' => (defaults to null) )
- Returns
- []
private
- Since
- 1.9.0
Definition at line 246 of file WidgetsService.php.
Elgg\WidgetsService::getWidgets |
( |
|
$owner_guid, |
|
|
|
$context |
|
) |
| |
Elgg\WidgetsService::unregisterType |
( |
|
$id | ) |
|
Elgg\WidgetsService::validateType |
( |
|
$id, |
|
|
|
$context = null , |
|
|
\ElggEntity |
$container = null |
|
) |
| |
Checks if a widget type exists for a given id.
- Parameters
-
string | $id | Widget identifier |
string | $context | Optional context to check |
\ElggEntity | $container | Optional limit widget definitions to a container |
- See also
- elgg_is_widget_type private
- Since
- 1.9.0
Definition at line 186 of file WidgetsService.php.
The documentation for this class was generated from the following file: