|
Stud.IP
jlu_4.1 Revision
|


Data Fields | |
| const | DEFAULT_LIMIT = 3 |
Data Fields inherited from Widget | |
| const | EXECUTION_BASE_URL = 'dispatch.php/widgets/execute' |
Additional Inherited Members | |
Static Public Member Functions inherited from Widget | |
| static | create ($id, Range $range_to_check=null) |
| static | findAll () |
| static | registerWidget (Widget $widget) |
| static | listForRange (Range $range, $scope=null) |
Static Public Member Functions inherited from SimpleORMap | |
| static | tableScheme ($db_table) |
| static | expireTableScheme () |
| static | find ($id) |
| static | exists ($id) |
| static | countBySql ($sql=1, $params=array()) |
| static | create ($data) |
| static | build ($data, $is_new=true) |
| static | buildExisting ($data) |
| static | import ($data) |
| static | findBySQL ($sql, $params=array()) |
| static | findByObject (SimpleORMap $object) |
| static | findOneBySQL ($where, $params=array()) |
| static | findThru ($foreign_key_value, $options) |
| static | findEachBySQL ($callable, $sql, $params=array()) |
| static | findMany ($pks=array(), $order='', $order_params=array()) |
| static | findEachMany ($callable, $pks=array(), $order='', $order_params=array()) |
| static | findAndMapBySQL ($callable, $where, $params=array()) |
| static | findAndMapMany ($callable, $pks=array(), $order='', $order_params=array()) |
| static | deleteBySQL ($where, $params=array()) |
| static | toObject ($id_or_object) |
| static | __callStatic ($name, $arguments) |
Static Public Attributes inherited from SimpleORMap | |
| static | $schemes = null |
Static Protected Member Functions inherited from Widget | |
| static | configure ($config=[]) |
| static | configure ($config=array()) |
Protected Attributes inherited from SimpleORMap | |
| $content = array() | |
| $content_db = array() | |
| $is_new = true | |
| $is_deleted = false | |
| $db_table = '' | |
| $db_fields = null | |
| $pk = null | |
| $default_values = array() | |
| $serialized_fields = array() | |
| $alias_fields = array() | |
| $i18n_fields = array() | |
| $additional_fields = array() | |
| $relations = array() | |
| $has_many = array() | |
| $has_one = array() | |
| $belongs_to = array() | |
| $has_and_belongs_to_many = array() | |
| $registered_callbacks | |
| $known_slots = array() | |
| $notification_map = array() | |
| $additional_data = array() | |
| $getter_setter_map = array() | |
Static Protected Attributes inherited from SimpleORMap | |
| static | $config = array() |
| static | $reserved_slots = array('value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id') |
This widget shows the latest files a user may see.
@license GPL2 or any later version
{If this widget has a config action, this method returns the the template to be shown.
| Element | $element | the widget element whose config action shall be shown |
| Response | $response | a response object given to all widget actions |
@SuppressWarnings(PHPMD.UnusedFormalParameter)}
@SuppressWarnings(PHPMD.UnusedFormalParameter)
Reimplemented from BaseWidget.

|
protected |
{All widget have options. This method may be overridden to defines default option values.
Reimplemented from BaseWidget.
| getDescription | ( | ) |
|
protected |
{Retrieve a list of files and their folders of a range to be displayed in the widget element. Similar to FileManager::getFolderFilesRecursive.
| Range | $range | The range whose files and folders shall be retrieved |
| mixed | $scope | Optional scope which was given to BaseWidget::getContent |
@SuppressWarnings(PHPMD.UnusedFormalParameter) @SuppressWarnings(PHPMD.Superglobals)
Reimplemented from BaseWidget.
| getName | ( | ) |
|
protected |
{If an element of a widget needs a configuration icon in its header bar, this method should return true.
Reimplemented from BaseWidget.
| mayBeDuplicated | ( | ) |
This is a singleton widget - use at most once per container.
{Returns whether this widget instance may be duplicated or used more than once in a container.
Reimplemented from Widget.
| mayBeRemoved | ( | ) |
This is a singleton widget - use at most once per container.
{Returns whether this widget instance may be removed from a container.
Reimplemented from Widget.
{If this widget has a config action, this method may store the configuration.
| Element | $element | the widget element whose config action was performed |
| Response | $response | a response object given to all widget actions |
@SuppressWarnings(PHPMD.UnusedFormalParameter)}
@SuppressWarnings(PHPMD.UnusedFormalParameter)
Reimplemented from BaseWidget.

| const DEFAULT_LIMIT = 3 |