| 
    Stud.IP
    trunk Revision
    
   | 
  


Public Member Functions | |
| hasAction ($action) | |
| getActions (Range $range, $scope) | |
| executeAction ($action, array $parameters, $admin_mode=false) | |
| equals ($other) | |
| store () | |
  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 () | |
Protected Member Functions | |
| getTemplateName () | |
| getTemplateLayout () | |
| getTemplateVariables (array $variables=[]) | |
  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) | |
Static Protected Member Functions | |
| static | configure ($config=[]) | 
  Static Protected Member Functions inherited from SimpleORMap | |
| static | configure ($config=[]) | 
| static | config ($key) | 
Additional Inherited Members | |
  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 SimpleORMap | |
| const | ID_SEPARATOR = '_' | 
  Static Public Attributes inherited from SimpleORMap | |
| static | $schemes = null | 
  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'] | 
This model represents a widget element that is positioned in a container and contains a widget plus additional settings/options.
      
  | 
  staticprotected | 
| equals | ( | $other | ) | 
| executeAction | ( | $action, | |
| array | $parameters, | ||
$admin_mode = false  | 
        |||
| ) | 
Executes an action on this element/widget. Since the execution is always invoked by a REST API call, the method is given the routemap that invoked the action call.
| string | $action | Action to execute | 
| array | $parameters | Parameters to call the action method with | 
| mixed | Result of the action call | 
| getActions | ( | Range | $range, | 
| $scope | |||
| ) | 
Returns a list of actions that the element/widget supports. Each action is defined by a label and a callback and may have additional attributes for the html representation of the action.
      
  | 
  protected | 
Returns the layout for this element's template.
      
  | 
  protected | 
Returns the template name for this element.
      
  | 
  protected | 
Returns neccessary variables to render the element template.
| array | $variables | Optional additional variables | 

| hasAction | ( | $action | ) | 
Returns whether this element/widget supports the requested action.
| String | $action | Requested action | 
| store | ( | ) | 
Stores this element. If the element was actually stored, store the connected container as well. This is neccessary to correctly adjust the parent id of the conainer.
Reimplemented from SimpleORMap.