|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Collaboration diagram for ilAdvancedMDSubstitution:Public Member Functions | |
| sortDefinitions ($a_definitions) | |
| Sort definitions. More... | |
| isActive () | |
| Is substitution active. More... | |
| isDescriptionEnabled () | |
| Is description enabled. More... | |
| enableDescription ($a_status) | |
| Enable description presentation. More... | |
| enabledFieldNames () | |
| is field name enabled More... | |
| enableFieldNames ($a_status) | |
| enable field names More... | |
| getParsedSubstitutions ($a_ref_id, $a_obj_id) | |
| Substitute. More... | |
| resetSubstitutions () | |
| set substitutions More... | |
| appendSubstitution ($a_field_id, $a_bold=false, $a_newline=false) | |
| append field to substitutions More... | |
| getSubstitutions () | |
| get substitution string More... | |
| isSubstituted ($a_field_id) | |
| is substituted More... | |
| isBold ($a_field_id) | |
| is bold More... | |
| hasNewline ($a_field_id) | |
| has newline More... | |
| update () | |
| update More... | |
Static Public Member Functions | |
| static | _getInstanceByObjectType ($a_type) |
| Singleton: use this method to get an instance. More... | |
Protected Attributes | |
| $db | |
| $type | |
| $substitutions | |
| $bold = array() | |
| $newline = array() | |
| $enabled_desc = true | |
| $enabled_field_names = true | |
| $active = false | |
| $date_fields = array() | |
| $datetime_fields = array() | |
| $active_fields = array() | |
Private Member Functions | |
| __construct ($a_type) | |
| parseValue ($a_field_id, $a_values_records) | |
| special handling for date(time) values and ECS dates More... | |
| read () | |
| Read db entries. More... | |
| initECSMappings () | |
| init ECS mappings More... | |
Static Private Attributes | |
| static | $instances = null |
| static | $mappings = null |
Definition at line 32 of file class.ilAdvancedMDSubstitution.php.
|
private |
Definition at line 58 of file class.ilAdvancedMDSubstitution.php.
References $a_type, $DIC, $ilDB, initECSMappings(), and read().
Here is the call graph for this function:
|
static |
Singleton: use this method to get an instance.
| string | ilias object type (3 or 4 characters) @access public |
Definition at line 79 of file class.ilAdvancedMDSubstitution.php.
References $a_type.
Referenced by ilObjCategoryListGUI\init(), ilObjCategoryReferenceListGUI\init(), ilObjCourseListGUI\init(), ilObjCourseReferenceListGUI\init(), ilObjExerciseListGUI\init(), ilObjGroupListGUI\init(), ilObjGroupReferenceListGUI\init(), ilObjIndividualAssessmentListGUI\init(), ilObjRemoteCategoryListGUI\init(), ilObjRemoteCourseListGUI\init(), ilObjRemoteFileListGUI\init(), ilObjRemoteGlossaryListGUI\init(), ilObjRemoteGroupListGUI\init(), ilObjRemoteLearningModuleListGUI\init(), ilObjRemoteTestListGUI\init(), ilObjRemoteWikiListGUI\init(), ilObjSessionListGUI\init(), ilObjStudyProgrammeReferenceListGUI\init(), ilAdvancedMDSettingsGUI\initFormSubstitutions(), ilAdvancedMDRecordGUI\parseAppointmentPresentation(), and ilAdvancedMDSettingsGUI\updateSubstitutions().
Here is the caller graph for this function:| ilAdvancedMDSubstitution::appendSubstitution | ( | $a_field_id, | |
$a_bold = false, |
|||
$a_newline = false |
|||
| ) |
append field to substitutions
@access public
| int | field id |
Definition at line 285 of file class.ilAdvancedMDSubstitution.php.
| ilAdvancedMDSubstitution::enableDescription | ( | $a_status | ) |
Enable description presentation.
@access public
| bool | status description enabled |
Definition at line 135 of file class.ilAdvancedMDSubstitution.php.
| ilAdvancedMDSubstitution::enabledFieldNames | ( | ) |
is field name enabled
@access public
Definition at line 146 of file class.ilAdvancedMDSubstitution.php.
References $enabled_field_names.
Referenced by getParsedSubstitutions(), and update().
Here is the caller graph for this function:| ilAdvancedMDSubstitution::enableFieldNames | ( | $a_status | ) |
enable field names
@access public
| bool | enable/disable status |
Definition at line 158 of file class.ilAdvancedMDSubstitution.php.
| ilAdvancedMDSubstitution::getParsedSubstitutions | ( | $a_ref_id, | |
| $a_obj_id | |||
| ) |
Substitute.
@access public
| int | ref_id |
| int | obj_id |
| string | description |
Definition at line 172 of file class.ilAdvancedMDSubstitution.php.
References enabledFieldNames(), getSubstitutions(), hasNewline(), isBold(), parseValue(), and ilAdvancedMDValues\preloadedRead().
Here is the call graph for this function:| ilAdvancedMDSubstitution::getSubstitutions | ( | ) |
get substitution string
@access public
Definition at line 303 of file class.ilAdvancedMDSubstitution.php.
Referenced by getParsedSubstitutions(), and isSubstituted().
Here is the caller graph for this function:| ilAdvancedMDSubstitution::hasNewline | ( | $a_field_id | ) |
has newline
@access public
| int | field_id |
Definition at line 341 of file class.ilAdvancedMDSubstitution.php.
Referenced by getParsedSubstitutions(), and update().
Here is the caller graph for this function:
|
private |
init ECS mappings
@access private
Definition at line 448 of file class.ilAdvancedMDSubstitution.php.
References ilECSDataMappingSettings\_getInstance().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDSubstitution::isActive | ( | ) |
Is substitution active.
@access public
Definition at line 112 of file class.ilAdvancedMDSubstitution.php.
References $active.
| ilAdvancedMDSubstitution::isBold | ( | $a_field_id | ) |
is bold
@access public
| int | field_id |
Definition at line 327 of file class.ilAdvancedMDSubstitution.php.
Referenced by getParsedSubstitutions(), and update().
Here is the caller graph for this function:| ilAdvancedMDSubstitution::isDescriptionEnabled | ( | ) |
Is description enabled.
@access public
Definition at line 123 of file class.ilAdvancedMDSubstitution.php.
References $enabled_desc.
Referenced by update().
Here is the caller graph for this function:| ilAdvancedMDSubstitution::isSubstituted | ( | $a_field_id | ) |
is substituted
@access public
| int | field_id |
Definition at line 315 of file class.ilAdvancedMDSubstitution.php.
References getSubstitutions().
Here is the call graph for this function:
|
private |
special handling for date(time) values and ECS dates
| int | $a_field_id | field ID |
| array | $a_values_records | values @access public |
Definition at line 221 of file class.ilAdvancedMDSubstitution.php.
References $DIC, $ilUser, and ilADTFactory\getInstance().
Referenced by getParsedSubstitutions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Read db entries.
@access private
Definition at line 386 of file class.ilAdvancedMDSubstitution.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:| ilAdvancedMDSubstitution::resetSubstitutions | ( | ) |
set substitutions
@access public
| array | array of field definitions |
Definition at line 271 of file class.ilAdvancedMDSubstitution.php.
| ilAdvancedMDSubstitution::sortDefinitions | ( | $a_definitions | ) |
Sort definitions.
@access public
| array | int field_id |
Definition at line 94 of file class.ilAdvancedMDSubstitution.php.
| ilAdvancedMDSubstitution::update | ( | ) |
update
@access public
Definition at line 351 of file class.ilAdvancedMDSubstitution.php.
References $DIC, $ilDB, $query, $res, $substitutions, enabledFieldNames(), hasNewline(), isBold(), and isDescriptionEnabled().
Here is the call graph for this function:
|
protected |
Definition at line 46 of file class.ilAdvancedMDSubstitution.php.
Referenced by isActive().
|
protected |
Definition at line 49 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 41 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 47 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 48 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 37 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 44 of file class.ilAdvancedMDSubstitution.php.
Referenced by isDescriptionEnabled().
|
protected |
Definition at line 45 of file class.ilAdvancedMDSubstitution.php.
Referenced by enabledFieldNames().
|
staticprivate |
Definition at line 34 of file class.ilAdvancedMDSubstitution.php.
|
staticprivate |
Definition at line 35 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 42 of file class.ilAdvancedMDSubstitution.php.
|
protected |
Definition at line 40 of file class.ilAdvancedMDSubstitution.php.
Referenced by update().
|
protected |
Definition at line 39 of file class.ilAdvancedMDSubstitution.php.