Public Member Functions | |
| get ($name) | |
| Override entity get and sets in order to save data to private data store. | |
| set ($name, $value) | |
| Override entity get and sets in order to save data to private data store. | |
| setContext ($context) | |
| Set the widget context. | |
| getContext () | |
| Get the widget context. | |
| getTitle () | |
| Get the title of the widget. | |
| move ($column, $rank) | |
| Move the widget. | |
| saveSettings ($params) | |
| Saves the widget's settings. | |
Protected Member Functions | |
| initializeAttributes () | |
| Set subtype to widget. | |
Definition at line 16 of file ElggWidget.php.
| ElggWidget::get | ( | $ | name | ) |
Override entity get and sets in order to save data to private data store.
| string | $name Name |
Reimplemented from ElggEntity.
Definition at line 36 of file ElggWidget.php.
| ElggWidget::getContext | ( | ) |
| ElggWidget::getTitle | ( | ) |
Get the title of the widget.
Definition at line 102 of file ElggWidget.php.
| ElggWidget::initializeAttributes | ( | ) | [protected] |
Set subtype to widget.
Reimplemented from ElggObject.
Definition at line 23 of file ElggWidget.php.
| ElggWidget::move | ( | $ | column, | |
| $ | rank | |||
| ) |
Move the widget.
| int | $column The widget column | |
| int | $rank Zero-based rank from the top of the column |
Definition at line 119 of file ElggWidget.php.
| ElggWidget::saveSettings | ( | $ | params | ) |
Saves the widget's settings.
Plugins can override the save mechanism using the plugin hook: 'widget_settings', <widget handler="" identifier>="">. The widget and the parameters are passed. The plugin hook handler should return true to indicate that it has successfully saved the settings.
| array | $params An array of name => value parameters |
Definition at line 211 of file ElggWidget.php.
| ElggWidget::set | ( | $ | name, | |
| $ | value | |||
| ) |
Override entity get and sets in order to save data to private data store.
| string | $name Name | |
| string | $value Value |
Reimplemented from ElggEntity.
Definition at line 60 of file ElggWidget.php.
| ElggWidget::setContext | ( | $ | context | ) |
Set the widget context.
| string | $context The widget context |
Definition at line 82 of file ElggWidget.php.
1.6.3