Elgg  Version 1.11
Public Member Functions | List of all members
Elgg\WidgetsService Class Reference

Public Member Functions

 getWidgets ($owner_guid, $context)
 
 createWidget ($owner_guid, $handler, $context, $access_id=null)
 
 canEditLayout ($context, $user_guid=0)
 
 registerType ($handler, $name, $description, array $context=array('all'), $multiple=false)
 
 unregisterType ($handler)
 
 validateType ($handler)
 
 getAllTypes ()
 private More...
 
 getNameByType ($handler)
 private More...
 
 getTypes ($context="", $exact=false)
 

Detailed Description

Definition at line 15 of file WidgetsService.php.

Member Function Documentation

Elgg\WidgetsService::canEditLayout (   $context,
  $user_guid = 0 
)
See also
elgg_can_edit_widget_layout private
Since
1.9.0

Definition at line 110 of file WidgetsService.php.

Elgg\WidgetsService::createWidget (   $owner_guid,
  $handler,
  $context,
  $access_id = null 
)
See also
elgg_create_widget private
Since
1.9.0

Definition at line 75 of file WidgetsService.php.

Elgg\WidgetsService::getAllTypes ( )

private

Since
1.9.0

Definition at line 204 of file WidgetsService.php.

Elgg\WidgetsService::getNameByType (   $handler)

private

Since
1.9.0

Definition at line 224 of file WidgetsService.php.

Elgg\WidgetsService::getTypes (   $context = "",
  $exact = false 
)
See also
elgg_get_widget_types private
Since
1.9.0

Definition at line 236 of file WidgetsService.php.

Elgg\WidgetsService::getWidgets (   $owner_guid,
  $context 
)
See also
elgg_get_widgets private
Since
1.9.0

Definition at line 33 of file WidgetsService.php.

Elgg\WidgetsService::registerType (   $handler,
  $name,
  $description,
array  $context = array('all'),
  $multiple = false 
)
See also
elgg_register_widget_type private
Since
1.9.0

Definition at line 137 of file WidgetsService.php.

Elgg\WidgetsService::unregisterType (   $handler)
Parameters
string$handler
Returns
bool
See also
elgg_unregister_widget_type private
Since
1.9.0

Definition at line 167 of file WidgetsService.php.

Elgg\WidgetsService::validateType (   $handler)
See also
elgg_is_widget_type private
Since
1.9.0

Definition at line 188 of file WidgetsService.php.


The documentation for this class was generated from the following file: