|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilAdvancedMDValues:Public Member Functions | |
| __construct ($a_record_id, $a_obj_id, $a_sub_type="-", $a_sub_id=0) | |
| setActiveRecordPrimary (int $a_obj_id, string $a_sub_type="-", int $a_sub_id=0) | |
| getDefinitions () | |
| Get record field definitions. More... | |
| getADTGroup () | |
| isDisabled (string $a_element_id) | |
| read () | |
| Get record values. More... | |
| write (array $a_additional_data=null) | |
| Write record values. More... | |
Static Public Member Functions | |
| static | getInstancesForObjectId (int $a_obj_id, ?string $a_obj_type=null, string $a_sub_type="-", int $a_sub_id=0) |
| static | findByObjectId (int $a_obj_id) |
| Find all entries for object (regardless of sub-type/sub-id) More... | |
| static | _deleteByFieldId (int $a_field_id, ilADT $a_adt) |
| Delete values by field_id. More... | |
| static | _deleteByObjId (int $a_obj_id) |
| Delete by objekt id. More... | |
| static | preloadByObjIds (array $a_obj_ids) |
| Preload list gui data. More... | |
| static | preloadedRead (string $a_type, int $a_obj_id) |
| static | _cloneValues (int $copy_id, int $a_source_id, int $a_target_id, ?string $a_sub_type=null, ?int $a_source_sub_id=null, ?int $a_target_sub_id=null) |
| Clone Advanced Meta Data. More... | |
| static | _appendXMLByObjId (ilXmlWriter $a_xml_writer, int $a_obj_id) |
| Get xml of object values. More... | |
| static | queryForRecords (int $adv_rec_obj_ref_id, string $adv_rec_obj_type, string $adv_rec_obj_subtype, array $a_obj_id, string $a_subtype, array $a_records, string $a_obj_id_key, string $a_obj_subid_key, array $a_amet_filter=null) |
Protected Member Functions | |
| getActiveRecord () | |
| Init ADT DB Bridge (aka active record helper class) More... | |
Static Protected Member Functions | |
| static | getParentMapping (int $copy_id, string $target) |
Protected Attributes | |
| int | $record_id |
| int | $obj_id |
| int | $sub_id |
| string | $sub_type |
| array | $defs = null |
| ilADTGroup | $adt_group = null |
| ilADTActiveRecordByType | $active_record = null |
| array | $disabled = [] |
Static Protected Attributes | |
| static array | $preload_obj_records = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 27 of file class.ilAdvancedMDValues.php.
| ilAdvancedMDValues::__construct | ( | $a_record_id, | |
| $a_obj_id, | |||
$a_sub_type = "-", |
|||
$a_sub_id = 0 |
|||
| ) |
Definition at line 42 of file class.ilAdvancedMDValues.php.
References ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Get xml of object values.
| ilXmlWriter | $a_xml_writer | |
| int | $a_obj_id |
Definition at line 455 of file class.ilAdvancedMDValues.php.
References ilObject\_lookupType(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by ilCourseXMLWriter\__buildAdvancedMetaData(), and ilGroupXMLWriter\__buildAdvancedMetaData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Clone Advanced Meta Data.
Definition at line 290 of file class.ilAdvancedMDValues.php.
References $DIC, $record_id, ilCopyWizardOptions\_getInstance(), ilAdvancedMDRecord\_getRecords(), ilADTActiveRecordByType\cloneByPrimary(), ilADTActiveRecordByType\deleteByPrimary(), ilADTFactory\getInstance(), ilAdvancedMDRecord\getObjRecSelection(), and ilAdvancedMDRecord\saveObjRecSelection().
Referenced by ilObject\_prepareCloneSelection(), ilObjWiki\cloneObject(), ilObjPortfolioBase\clonePagesAndSettings(), ILIAS\MediaPool\MediaPoolManager\copyMetadataOfItem(), ILIAS\EmployeeTalk\Metadata\MetadataHandler\copyValues(), ILIAS\Wiki\Page\PageManager\createWikiPage(), and ilObjWiki\createWikiPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete values by field_id.
Typically called after deleting a field
| int | $a_field_id | |
| ilADT | $a_adt |
Definition at line 197 of file class.ilAdvancedMDValues.php.
References ilADTActiveRecordByType\deleteByPrimary(), ilADTFactory\getInstance(), and ilADT\getType().
Referenced by ilAdvancedMDFieldDefinition\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete by objekt id.
Definition at line 210 of file class.ilAdvancedMDValues.php.
References ilADTActiveRecordByType\deleteByPrimary(), and ilADTFactory\getInstance().
Referenced by ilObject\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Find all entries for object (regardless of sub-type/sub-id)
Definition at line 145 of file class.ilAdvancedMDValues.php.
References ilADTFactory\initActiveRecordByType(), and ilADTActiveRecordByType\readByPrimary().
Referenced by ilAdvancedMetaDataExporter\getXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init ADT DB Bridge (aka active record helper class)
Definition at line 113 of file class.ilAdvancedMDValues.php.
References $active_record, getADTGroup(), and ilADTFactory\getInstance().
Referenced by read(), and write().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::getADTGroup | ( | ) |
Definition at line 102 of file class.ilAdvancedMDValues.php.
References $adt_group, ilAdvancedMDFieldDefinition\getADTGroupForDefinitions(), and getDefinitions().
Referenced by getActiveRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::getDefinitions | ( | ) |
Get record field definitions.
Definition at line 94 of file class.ilAdvancedMDValues.php.
References $defs, and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by getADTGroup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 50 of file class.ilAdvancedMDValues.php.
References $id, $ref_id, $res, ilObject\_getAllReferences(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), and ilObject\_lookupType().
Referenced by ilECSUtils\getAdvancedMDValuesForObjId(), ilAdvancedMDValueParser\handlerBeginTag(), ilRemoteObjectBase\importMetadataFromJson(), ILIAS\Cache\Services\ObjectModes\Custom\Custom\initSets(), ilAdvancedMDRecordGUI\parseAppointmentPresentationa(), ilAdvancedMDRecordGUI\parseInfoPage(), and ilObjOrgUnit\setOrgUnitTypeId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 435 of file class.ilAdvancedMDValues.php.
References ilCopyWizardOptions\_getInstance().
Here is the call graph for this function:| ilAdvancedMDValues::isDisabled | ( | string | $a_element_id | ) |
Definition at line 158 of file class.ilAdvancedMDValues.php.
References ILIAS\UI\examples\Input\Field\Checkbox\disabled().
Here is the call graph for this function:
|
static |
Preload list gui data.
| int[] | $a_obj_ids |
Definition at line 223 of file class.ilAdvancedMDValues.php.
References $DIC, $ilDB, ilADTFactory\getInstance(), ILIAS\Repository\int(), and ilADTActiveRecordByType\preloadByPrimary().
Referenced by ilObjectListGUIPreloader\preload(), and ILIAS\Style\Content\ItemSetManager\preloadAdvancedMDValues().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 253 of file class.ilAdvancedMDValues.php.
References $record_id, $res, and ilAdvancedMDRecord\_getSelectedRecordsByObject().
Referenced by ilAdvancedMDSubstitution\getParsedSubstitutions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 485 of file class.ilAdvancedMDValues.php.
References $record_id, $results, ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilAdvancedMDFieldDefinition\getADTGroupForDefinitions(), ilADTGroup\getElement(), ilADTGroup\getElements(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), ilADTGroup\hasElement(), ILIAS\Repository\int(), ilADTActiveRecordByType\preloadByPrimary(), ilADTActiveRecordByType\read(), and ilADTActiveRecordByType\setElementIdColumn().
Referenced by ILIAS\Cache\Services\SubObjectModes\DataTable\Supplier\getData(), ilBookingObjectsTableGUI\getItems(), ilMediaPoolTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), and ilGlossaryTerm\getTermList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::read | ( | ) |
Get record values.
Definition at line 169 of file class.ilAdvancedMDValues.php.
References $data, ILIAS\UI\examples\Input\Field\Checkbox\disabled(), and getActiveRecord().
Here is the call graph for this function:| ilAdvancedMDValues::setActiveRecordPrimary | ( | int | $a_obj_id, |
| string | $a_sub_type = "-", |
||
| int | $a_sub_id = 0 |
||
| ) |
Definition at line 80 of file class.ilAdvancedMDValues.php.
| ilAdvancedMDValues::write | ( | array | $a_additional_data = null | ) |
Write record values.
Definition at line 186 of file class.ilAdvancedMDValues.php.
References getActiveRecord().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file class.ilAdvancedMDValues.php.
Referenced by getActiveRecord().
|
protected |
Definition at line 35 of file class.ilAdvancedMDValues.php.
Referenced by getADTGroup().
|
protected |
Definition at line 34 of file class.ilAdvancedMDValues.php.
Referenced by getDefinitions().
|
protected |
Definition at line 38 of file class.ilAdvancedMDValues.php.
|
protected |
Definition at line 30 of file class.ilAdvancedMDValues.php.
|
staticprotected |
Definition at line 40 of file class.ilAdvancedMDValues.php.
|
protected |
Definition at line 29 of file class.ilAdvancedMDValues.php.
Referenced by _cloneValues(), preloadedRead(), and queryForRecords().
|
protected |
Definition at line 31 of file class.ilAdvancedMDValues.php.
|
protected |
Definition at line 32 of file class.ilAdvancedMDValues.php.