| 
    Stud.IP
    trunk Revision
    
   | 
  


Public Member Functions | |
| suitableForRange (\Range $range, $scope=null) | |
| getContent (\Range $range, $scope) | |
| getActions (\Range $range, $scope) | |
| getConfigurationTemplate (Element $element, Response $response) | |
| saveConfiguration (Element $element, Response $response) | |
| getListTemplate (Element $element, Response $response) | |
| getRangeLabel (\FolderType $folder) | |
  Public Member Functions inherited from Widget | |
| suitableForRange (Range $range, $scope=null) | |
| connectWithElement (Element $element) | |
| getElement () | |
| url_for ($to, $parameters=[]) | |
| getTitle () | |
| setOptions (array $options=[]) | |
| getOptions () | |
| hasLayout () | |
| mayBeRemoved () | |
| mayBeDuplicated () | |
| getActions (Range $range, $scope) | |
| getTemplate ($name, array $variables=[]) | |
  Public Member Functions inherited from SimpleORMap | |
| __construct ($id=null) | |
| __clone () | |
| getRelationOptions ($relation) | |
| getTableMetadata () | |
| hasAutoIncrementColumn () | |
| setId ($id) | |
| getId () | |
| getNewId () | |
| toArray ($only_these_fields=null) | |
| toRawArray ($only_these_fields=null) | |
| toArrayRecursive ($only_these_fields=null) | |
| getValue ($field) | |
| getRelationValue ($relation, $field) | |
| getDefaultValue ($field) | |
| setValue ($field, $value) | |
| __get ($field) | |
| __set ($field, $value) | |
| __isset ($field) | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| getIterator () | |
| count () | |
| isField ($field) | |
| isAdditionalField ($field) | |
| isAliasField ($field) | |
| isI18nField ($field) | |
| setData ($data, $reset=false) | |
| isNew () | |
| isDeleted () | |
| setNew ($is_new) | |
| getWhereQuery () | |
| restore () | |
| store () | |
| triggerChdate () | |
| delete () | |
| isDirty () | |
| isFieldDirty ($field) | |
| revertValue ($field) | |
| getPristineValue ($field) | |
| initRelation ($relation) | |
| resetRelation ($relation) | |
| cleanup () | |
  Public Member Functions inherited from WidgetInterface | |
| suitableForRange (Range $range, $scope=null) | |
| getId () | |
| getName () | |
| getDescription () | |
| getTitle () | |
| getContent (Range $range, $scope) | |
| connectWithElement (Element $element) | |
| getElement () | |
| url_for ($to, $parameters=[]) | |
| setOptions (array $options=[]) | |
| getOptions () | |
| hasLayout () | |
| mayBeRemoved () | |
| mayBeDuplicated () | |
| getActions (Range $range, $scope) | |
Protected Member Functions | |
| getFilesAndFolders (\Range $range, $scope) | |
| createConfigurationAction () | |
| hasConfiguration () | |
| getVariables (\Range $range, $scope) | |
| getDefaultOptions () | |
| getFilesController () | |
  Protected Member Functions inherited from SimpleORMap | |
| _getId ($field) | |
| _setId ($field, $value) | |
| _getAdditionalValueFromRelation ($field) | |
| _setAdditionalValueFromRelation ($field, $value) | |
| _getAdditionalValue ($field) | |
| _setAdditionalValue ($field, $value) | |
| parseRelationOptions ($type, $name, $options) | |
| storeRelations ($only_these=null) | |
| deleteRelations () | |
| initializeContent () | |
| applyCallbacks ($type) | |
| registerCallback ($types, $cb) | |
| unregisterCallback ($types, $cb) | |
| cbAutoIncrementColumn ($type) | |
| cbAutoKeyCreation () | |
| cbNotificationMapper ($cb_type) | |
| cbAfterInitialize ($cb_type) | |
| setSerializedValue ($field, $value) | |
| setI18nValue ($field, $value) | |
| cbI18N ($type) | |
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=[]) | 
| static | create ($data) | 
| static | build ($data, $is_new=true) | 
| static | buildExisting ($data) | 
| static | import ($data) | 
| static | findBySQL ($sql, $params=[]) | 
| static | findOneBySQL ($where, $params=[]) | 
| static | findThru ($foreign_key_value, $options) | 
| static | findEachBySQL ($callable, $sql, $params=[]) | 
| static | findMany ($pks=[], $order='', $order_params=[]) | 
| static | findEachMany ($callable, $pks=[], $order='', $order_params=[]) | 
| static | findAndMapBySQL ($callable, $where, $params=[]) | 
| static | findAndMapMany ($callable, $pks=[], $order='', $order_params=[]) | 
| static | deleteBySQL ($where, $params=[]) | 
| static | toObject ($id_or_object) | 
| static | __callStatic ($name, $arguments) | 
  Data Fields inherited from Widget | |
| const | EXECUTION_BASE_URL = 'dispatch.php/widgets/execute' | 
  Data Fields inherited from SimpleORMap | |
| const | ID_SEPARATOR = '_' | 
  Static Public Attributes inherited from SimpleORMap | |
| static | $schemes = null | 
  Static Protected Member Functions inherited from Widget | |
| static | configure ($config=[]) | 
  Static Protected Member Functions inherited from SimpleORMap | |
| static | configure ($config=[]) | 
| static | config ($key) | 
  Protected Attributes inherited from SimpleORMap | |
| $content = [] | |
| $content_db = [] | |
| $is_new = true | |
| $is_deleted = false | |
| $db_table = '' | |
| $db_fields = null | |
| $pk = null | |
| $default_values = [] | |
| $serialized_fields = [] | |
| $alias_fields = [] | |
| $i18n_fields = [] | |
| $additional_fields = [] | |
| $relations = [] | |
| $has_many = [] | |
| $has_one = [] | |
| $belongs_to = [] | |
| $has_and_belongs_to_many = [] | |
| $registered_callbacks = [] | |
| $known_slots = [] | |
| $notification_map = [] | |
| $additional_data = [] | |
| $getter_setter_map = [] | |
  Static Protected Attributes inherited from SimpleORMap | |
| static | $config = [] | 
| static | $reserved_slots = ['value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id'] | 
      
  | 
  protected | 
This method creates the config action if the widget has a configuration.
config action 

| getActions | ( | \Range | $range, | 
| $scope | |||
| ) | 
@SuppressWarnings(PHPMD.UnusedFormalParameter)
{}

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)
Reimplemented in LatestFilesWidget.
| getContent | ( | \Range | $range, | 
| $scope | |||
| ) | 
{}

      
  | 
  protected | 
All widget have options. This method may be overridden to defines default option values.
Reimplemented in LatestFilesWidget.

      
  | 
  abstractprotected | 
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 | 
Reimplemented in LatestFilesWidget, and MyPublicFilesWidget.

      
  | 
  protected | 
This helper method creates a \FilesController which is used by the templates of the basic and list view action.

This method is the callback of the list action. It returns a list view of the results of calling self::getFilesAndFolders.
| Element | $element | the widget element whose list action is performing  | 
| Response | $response | a response object given to all widget actions | 
@SuppressWarnings(PHPMD.Superglobals) @SuppressWarnings(PHPMD.UnusedFormalParameter)

| getRangeLabel | ( | \FolderType | $folder | ) | 
This method creates a string containing a 'title' of a folder.
| FolderType | $folder | the folder a 'title' shall be created | 
      
  | 
  protected | 
This method return all the variables used for the templates of the basic widget view and of the list view.
| Range | $range | The range whose files and folders shall be retrieved | 


      
  | 
  protected | 
If an element of a widget needs a configuration icon in its header bar, this method should return true.
Reimplemented in LatestFilesWidget.

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)
Reimplemented in LatestFilesWidget.
| suitableForRange | ( | \Range | $range, | 
$scope = null  | 
        |||
| ) | 
{}