| 
    Stud.IP
    trunk Revision
    
   | 
  


Static Public Member Functions | |
| static | findByAbschluss ($abschluss_id) | 
| static | findByFachAbschluss ($fach_id, $abschluss_id, $filter=null) | 
| static | findByFachbereich ($fachbereich_id) | 
| static | findByAbschlussKategorie ($kategorie_id) | 
| static | findByAbschlussKategorieFachbereich ($kategorie_id, $fachbereich_id) | 
| static | findByStgTeil ($stgteil_id) | 
| static | findByModule ($modul_ids, $only_public=true) | 
| static | toArrayFachbereichAbschlussKategorie ($fachbereich_id, $kategorie_id) | 
| static | getAllEnriched ($sortby='name', $order='ASC', $filter=null, $row_count=null, $offset=null) | 
| static | getCount ($filter=null) | 
| static | getEnriched ($studiengang_id) | 
| static | getAllAssignedInstitutes ($filter=null) | 
| static | findBySearchTerm ($term, $filter=null) | 
| static | findByIds ($studiengang_ids, $filter=null) | 
| static | findStatusByIds ($studiengang_ids=[]) | 
| static | findByFilter ($filter) | 
| static | getClassDisplayName ($long=false) | 
  Static Public Member Functions inherited from ModuleManagementModelTreeItem | |
| static | getPathes ($trails, $delimiter=' · ', $display_options=self::DISPLAY_DEFAULT) | 
| static | filterTrails ($trails, $filter_objects) | 
| static | setObjectFilter ($class_name, $filter_func) | 
  Static Public Member Functions inherited from ModuleManagementModel | |
| static | findBySearchTerm ($search_term, $filter=null) | 
| static | getAll () | 
| static | get ($id=null) | 
| static | getEnriched ($id) | 
| static | getEnrichedByQuery ($query=null, $params=[], $row_count=null, $offset=null) | 
| static | getClassDisplayName ($long=false) | 
| static | getFilterSql ($filter, $where=false, $or_sql=null) | 
| static | getContentArray (SimpleORMap $sorm, $to_utf8=true) | 
| static | getCount ($filter=null) | 
| static | getCountBySql ($sql, $filter=null) | 
| static | setLanguage ($language) | 
| static | setContentLanguage ($language) | 
| static | getLanguage () | 
| static | getLocaleOrdinalNumberSuffix ($num) | 
| static | getPublicStatus ($class_name=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) | 
Static Protected Member Functions | |
| static | configure ($config=[]) | 
  Static Protected Member Functions inherited from ModuleManagementModelTreeItem | |
| static | sortTrails ($trail_a, $trail_b) | 
  Static Protected Member Functions inherited from ModuleManagementModel | |
| static | checkSortFields ($sort, $standard_field=null, $additional_fields=[]) | 
| static | createSortStatement ($sort, $order='ASC', $standard_field=null, $additional_fields=[]) | 
  Static Protected Member Functions inherited from SimpleORMap | |
| static | configure ($config=[]) | 
| static | config ($key) | 
Additional Inherited Members | |
  Data Fields inherited from ModuleManagementModel | |
| const | DISPLAY_DEFAULT = 1 | 
| const | DISPLAY_SEMESTER = 2 | 
| const | DISPLAY_CODE = 4 | 
| const | DISPLAY_FACULTY = 8 | 
| const | DISPLAY_FACH = 16 | 
| const | DISPLAY_STGTEIL = 32 | 
| const | DISPLAY_ABSCHLUSS = 64 | 
| const | DISPLAY_KATEGORIE = 128 | 
| $object_real_name = '' | |
  Data Fields inherited from SimpleORMap | |
| const | ID_SEPARATOR = '_' | 
  Static Public Attributes inherited from ModuleManagementModelTreeItem | |
| static | $TRAIL_DEFAULT | 
  Static Public Attributes inherited from SimpleORMap | |
| static | $schemes = null | 
  Protected Member Functions inherited from ModuleManagementModel | |
| logChanges ($action=null) | |
  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) | |
  Protected Attributes inherited from ModuleManagementModel | |
| $is_dirty = false | |
  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 ModuleManagementModelTreeItem | |
| static | $object_filter = [] | 
  Static Protected Attributes inherited from ModuleManagementModel | |
| static | $filter_params = [] | 
| static | $perm_object = null | 
  Static Protected Attributes inherited from SimpleORMap | |
| static | $config = [] | 
| static | $reserved_slots = ['value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id'] | 
| __construct | ( | $id = null | ) | 
constructor, give primary key of record as param to fetch corresponding record from db if available, if not preset primary key with given value. Give null to create new record
| mixed | $id | primary key of table | 
Reimplemented from SimpleORMap.
      
  | 
  staticprotected | 
set configuration data from subclass
| array | $config | configuration data | 
Reimplemented from SimpleORMap.
      
  | 
  static | 
Retrieves all Studiengaenge by given Abschluss.
| string | $abschluss_id | The id of an Abschluss. | 

      
  | 
  static | 
Retrieves all Studiengänge ba given Abschluss-Kategorie.
| string | $kategorie_id | The id of an Abschluss-Kategorie. | 

      
  | 
  static | 
Retrieves all Studiengange by a given combination of Abschluss-Kategorie and Fachbereich. The Fachbereich is an institute assigned to the fach of a Studiengangteil which is assigned to Studiengaenge.
| string | $kategorie_id | The id of an Abschluss-Kategorie. | 
| string | $fachbereich_id | The id of an institute. | 

      
  | 
  static | 
Retrieves all Studiengaenge by a given combination of Fach/Abschluss.
| string | $fach_id | The id of a Fach. | 
| string | $abschluss_id | The id of an Abschluss. | 
| array | $filter | Key-value pairs of names and values to filter the result set. | 

      
  | 
  static | 
Retrieves all Studiengaenge by given Fachbereich. The Fachbereich is an institute assigned to the fach of a Studiengangteil which is assigned to Studiengaenge.
| string | $fachbereich_id | The id of an institute. | 

      
  | 
  static | 
Returns an array with ids of all Studiengaenge found by the given filter. If no filter is set an empty array will be returned.
| array | $filter | Key-value pairs of filed names and values to filter the result set. | 

      
  | 
  static | 
Retrieves all Studiengaenge by given ids optionally filtered.
| array | $studiengang_ids | An array of Studiengang ids. | 
| array | $filter | Key-value pairs of filed names and values to filter the result set. | 
      
  | 
  static | 
Retrieves all Studiengaenge the given Module are assigned to. The assignment is done via Studiengangabschnitte, Studiengangteil- Versionen and Studiengangteil. Optionallay restricted to public visible Studiengaenge.
| array | $modul_ids | An array of Modul ids. | 
| boolean | $only_public | If true retrieve only public visible ones. | 

      
  | 
  static | 
      
  | 
  static | 
Retrieves all Studiengaenge the given Studiengangteil is assigned to.
| string | $stgteil_id | The id of a Studiengangteil. | 

      
  | 
  static | 
Returns an array with all types of status found by given studiengang ids as key and the number of associated Studiengaenge as value.
| array | $studiengang_ids | 

      
  | 
  static | 
Returns all institutes assigned to studiengaenge.
| array | $filter | Key-value pairs of filed names and values to filter the result set. | 

      
  | 
  static | 
Returns all or a specified (by row count and offset) number of Studiengaenge sorted and filtered by given parameters and enriched with some additional fields. This function is mainly used in the list view.
| string | $sortby | Field name to order by. | 
| string | $order | ASC or DESC direction of order. | 
| array | $filter | Key-value pairs of filed names and values to filter the result set. | 
| int | $row_count | The max number of objects to return. | 
| int | $offset | The first object to return in a result set. | 


| getChildren | ( | ) | 


      
  | 
  static | 
Reimplemented from ModuleManagementModel.
      
  | 
  static | 
Returns the number of Studiengaenge optional filtered by $filter.
| array | $filter | Key-value pairs of filed names and values to filter the result set. | 
Reimplemented from ModuleManagementModel.


| getDisplayName | ( | $options = self::DISPLAY_DEFAULT | ) | 
Returns the name of the object to display in a specific context. The default is the value from the db fields "name" or "bezeichnung" or an empty string if no such fields exist. This method is overwritten by most of the mvv objects to display more complex names glued together from fields of related objects.
| mixed | $options | An optional parameter to set display options. | 
Reimplemented from ModuleManagementModel.
| getEndSem | ( | ) | 
Returns the last semester this studiengang is active.


      
  | 
  static | 
Retrieves the Studiengang and all related data and some additional fields.
| string | $studiengang_id | The id of the studiengang. | 
Reimplemented from ModuleManagementModel.


| getParents | ( | $mode = null | ) | 

| getRelatedModules | ( | $only_public = true,  | 
        |
$modul_ids = null  | 
        |||
| ) | 
Returns an array with Modul ids from modules related to this Studiengang. The relation is done via Studiengangteile, Studiengangteil-Versionen and Studiengangteil-Abschnitte. Optionally restricted to only public visible modules and filtered by an array of Modul ids.
| boolean | $only_public | If true only public visible modules will be retrieved. | 
| array | $modul_ids | An array of module ids. Only the intersection of these modules and the found modules will be returned. | 

| getResponsibleInstitutes | ( | ) | 
Reimplemented from ModuleManagementModel.
| getStartSem | ( | ) | 
Returns the first semester this studiengang is active.


| getTrailParent | ( | ) | 

| getTrailParentId | ( | ) | 
Reimplemented from ModuleManagementModelTreeItem.

| hasChildren | ( | ) | 
Reimplemented from ModuleManagementModelTreeItem.

| isActive | ( | ) | 
Returns whether this studiengang is active.

      
  | 
  static | 
Returns an array with all studiengaenge filtered by Fachbereich and Abschluss-Kategorie. The associated array contains only the name and the id of the Studiengang with the id as key. The content is utf8 encoded.
| string | $fachbereich_id | The id of the Fachbereich | 
| string | $kategorie_id | The id of the Abschluss-Kategorie | 

| validate | ( | ) | 
Validates the values before store. Throws an InvalidValuesException normally catched by form validation.
| InvalidValuesException | 
Reimplemented from ModuleManagementModel.
