Stud.IP
5.4
|
Static Public Member Functions | |
static | getEnriched ($stgteil_id) |
static | getAllEnriched ($sortby= 'fach_name', $order= 'ASC', $filter=null, $row_count=null, $offset=null) |
static | getCount ($filter=null) |
static | findByStudiengang ($studiengang_id, $sort= 'stgteil_position, stgteil_chdate', $order= 'ASC') |
static | findByFach ($fach_id, $filter=null, $sort= 'chdate', $order= 'DESC') |
static | findByFachbereich ($fachbereich_id, $filter=null, $sort= 'chdate', $order= 'DESC') |
static | getAssignedFachbereiche ($sortby= 'name', $order= 'ASC', $filter=null) |
static | findByStudiengangStgteilBez ($studiengang_id, $stgteil_bez_id) |
static | findBySearchTerm ($term, $filter=null) |
static | getClassDisplayName ($long=false) |
static | getCountAssignedFaecher ($filter=null) |
![]() | |
static | getPathes ($trails, $delimiter= '· ', $display_options=self::DISPLAY_DEFAULT) |
static | filterTrails ($trails, $filter_objects) |
static | setObjectFilter ($class_name, $filter_func) |
![]() | |
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 () = htmlReady($modul['name']) |
static | getLocaleOrdinalNumberSuffix ($num) |
static | getPublicStatus ($class_name=null) |
static | findCached ($id, $index=null) |
static | clearCache ($index=null) |
![]() | |
static | tableScheme ($db_table) |
static | expireTableScheme () |
static | exists ($id) |
static | countBySql ($sql= '1', $params=[]) |
static | create ($data) |
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 | sortTrails ($trail_a, $trail_b) |
![]() | |
static | configure ($config=[]) |
static | checkSortFields ($sort, $standard_field=null, $additional_fields=[]) |
static | createSortStatement ($sort, $order= 'ASC', $standard_field=null, $additional_fields=[]) |
static | fromCache ($index, $id, Callable $finder) |
![]() | |
static | db_table () |
static | db_fields () |
static | pk () |
static | default_values () |
static | serialized_fields () |
static | alias_fields () |
static | i18n_fields () |
static | additional_fields () |
static | has_many () |
static | has_one () |
static | belongs_to () |
static | has_and_belongs_to_many () |
static | registered_callbacks () |
static | known_slots () |
static | notification_map () |
static | getter_setter_map () |
static | configure ($config=[]) |
static | config ($key) |
static | registerCallback ($types, $cb) |
static | unregisterCallback ($types, $cb) |
Additional Inherited Members | |
![]() | |
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 = '' | |
![]() | |
const | ID_SEPARATOR = '_' |
![]() | |
const | TRAIL_SHOW_INCOMPLETE = 1 |
![]() | |
static | $TRAIL_DEFAULT |
![]() | |
static | $schemes = null |
![]() | |
logChanges ($action=null) | |
![]() | |
_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) | |
cbNotificationMapper ($cb_type) | |
cbAfterInitialize ($cb_type) | |
setSerializedValue ($field, $value) | |
setI18nValue ($field, $value) | |
![]() | |
$is_dirty = false | |
![]() | |
$content = [] | |
$content_db = [] | |
$is_new = true | |
$is_deleted = false | |
$relations = [] | |
$additional_data = [] | |
![]() | |
static | $object_filter = [] |
![]() | |
static | $filter_params = [] |
static | $perm_object = null |
static | $object_cache = [] |
![]() | |
static | $config = [] |
static | $reserved_slots = ['value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id'] |
static | $performs_batch_operation = false |
__construct | ( | $id = null | ) |
Implements ModuleManagementInterface.
assignFach | ( | $fach_id | ) |
|
staticprotected |
|
static |
Retrieves all Studiengangteile by Fach. Optionally filtered by given filter parameter.
string | $fach_id | The id of a Fach. |
array | $filter | Key-value pairs of filed names and values to filter the result set. |
string | $sort | Field names to order by. |
string | $order | ASC or DESC direction of order. |
|
static |
Retrieves all Studiengangteile by given Fachbereich. The Fachbereich is the responsible institute of a Fach. The Fach is assigned to Studiengangteile.
string | $fachbereich_id | The id of an institute. |
array | $filter | Key-value pairs of filed names and values to filter the result set. |
string | $sort | Field names to order by. |
string | $order | ASC or DESC direction of order. |
|
static |
Returns the number of Studiengangteile optional filtered by $filter.
array | $filter | Key-value pairs of filed names and values to filter the result set. |
|
static |
Retrieves all Studienganteile assigned to the given Studiengang.
string | $studiengang_id | The id of a Studiengang. |
string | $sort | Field names to order by. |
string | $order | ASC or DESC direction of order. |
|
static |
Retrieves all Studiengangteile by Studiengang and Studiengangteil- Bezeichnung in the case of Mehrfach-Studiengaenge.
string | $studiengang_id | The id of a Studiengang. |
string | $stgteil_bez_id | The id of a Studiengangteil-Bezeichnung. |
|
static |
Returns all or a specified (by row count and offset) number of Studiengangteile sorted and filtered by given parameters and enriched with some additional fields. This function is mainly used in the list view.
string | $sortby | Field names 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. |
|
static |
Returns an array of all Fachbereiche assigned through Fächer to Studiengangteile.
string | $sortby | Field names 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. |
getChildren | ( | ) |
Implements MvvTreeItem.
|
static |
|
static |
Returns the number of Studienagngteile optional filtered by $filter.
array | $filter | Key-value pairs of filed names and values to filter the result set. |
|
static |
Returns the number of Faecher which are assigned to Studiengangteile.
getDisplayName | ( | $options = self::DISPLAY_DEFAULT | ) |
|
static |
Retrieves the Studiengangteil and all related data and some additional fields.
string | $stgteil_id | The id of the Studiengangteil. |
getParents | ( | $mode = null | ) |
Implements MvvTreeItem.
getResponsibleInstitutes | ( | ) |
getTrailParent | ( | ) |
Implements MvvTreeItem.
getTrailParentId | ( | ) |
Implements MvvTreeItem.
validate | ( | ) |