ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_id=0) | |
setId (int $a_val) | |
getId () | |
setType (string $a_val) | |
getType () | |
setForeignId (int $a_val) | |
Set foreign id (mob id) More... | |
getForeignId () | |
setImportId (string $a_val) | |
getImportId () | |
setTitle (string $a_val) | |
getTitle () | |
create () | |
read () | |
update () | |
delete () | |
Static Public Member Functions | |
static | lookupForeignId (int $a_id) |
static | lookupType (int $a_id) |
static | lookupTitle (int $a_id) |
static | updateObjectTitle (int $a_obj) |
static | getPoolForItemId (int $a_id) |
static | getIdsForType (int $a_id, string $a_type) |
Get all ids for type. More... | |
Protected Attributes | |
string | $title = "" |
int | $foreign_id = 0 |
string | $type = "" |
int | $id = 0 |
ilDBInterface | $db |
string | $import_id = "" |
Static Private Member Functions | |
static | lookup (int $a_id, string $a_field) |
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 Media Pool Item
Definition at line 23 of file class.ilMediaPoolItem.php.
ilMediaPoolItem::__construct | ( | int | $a_id = 0 | ) |
int | $a_id | media pool item id |
Definition at line 35 of file class.ilMediaPoolItem.php.
References $DIC, read(), and setId().
ilMediaPoolItem::create | ( | ) |
Definition at line 101 of file class.ilMediaPoolItem.php.
References $db, $ilDB, getForeignId(), getImportId(), getTitle(), getType(), and setId().
ilMediaPoolItem::delete | ( | ) |
Definition at line 147 of file class.ilMediaPoolItem.php.
ilMediaPoolItem::getForeignId | ( | ) |
Definition at line 76 of file class.ilMediaPoolItem.php.
References $foreign_id.
Referenced by create().
ilMediaPoolItem::getId | ( | ) |
|
static |
Get all ids for type.
int | $a_id | media pool id |
string | $a_type | media item type |
Definition at line 232 of file class.ilMediaPoolItem.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilMepMultiSrt\getMobIds(), and ilMediaPoolExporter\getXmlExportTailDependencies().
ilMediaPoolItem::getImportId | ( | ) |
Definition at line 86 of file class.ilMediaPoolItem.php.
References $import_id.
Referenced by create().
|
static |
Definition at line 209 of file class.ilMediaPoolItem.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilMediaObjectUsagesTableGUI\fillRow(), ilMediaPoolImporter\finalProcessing(), ilMediaPoolDataSet\importRecord(), ilObjMediaPoolGUI\move(), and ilPageEditorGUI\showSnippetInfo().
ilMediaPoolItem::getTitle | ( | ) |
Definition at line 96 of file class.ilMediaPoolItem.php.
References $title.
Referenced by create().
ilMediaPoolItem::getType | ( | ) |
Definition at line 62 of file class.ilMediaPoolItem.php.
References $type.
Referenced by create().
|
staticprivate |
Definition at line 157 of file class.ilMediaPoolItem.php.
|
static |
Definition at line 173 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPool\copyTreeContent(), ilPCMediaObjectGUI\create(), ilObjMediaPool\delete(), ilObjMediaPool\deleteChild(), ilObjMediaPoolGUI\executeCommand(), ilMediaCreationGUI\insertFromPool(), ilObjMediaPoolSubItemListGUI\parseImage(), ilPCMediaObjectGUI\selectObjectReference(), and ilInternalLinkGUI\showLinkHelp().
|
static |
Definition at line 183 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\confirmRemove(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjMediaPoolGUI\getFolderValues(), ilObjMediaPoolSubItemListGUI\getHTML(), ilMediaPoolPageGUI\getMediaPoolPageValues(), ilObjMediaPoolGUI\insertFromClipboard(), ilMediaPoolPage\lookupTitle(), ilPCContentInclude\modifyPageContentPostXsl(), and ilMediaPoolPageGUI\showPage().
|
static |
Definition at line 178 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPoolSubItemListGUI\getHTML(), ilObjMediaPoolGUI\move(), and ilObjMediaPoolGUI\returnFromItem().
ilMediaPoolItem::read | ( | ) |
Definition at line 117 of file class.ilMediaPoolItem.php.
References $db, $ilDB, setForeignId(), setImportId(), setTitle(), and setType().
Referenced by __construct().
ilMediaPoolItem::setForeignId | ( | int | $a_val | ) |
Set foreign id (mob id)
int | $a_val | foreign id |
Definition at line 71 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setId | ( | int | $a_val | ) |
Definition at line 47 of file class.ilMediaPoolItem.php.
Referenced by __construct(), and create().
ilMediaPoolItem::setImportId | ( | string | $a_val | ) |
Definition at line 81 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setTitle | ( | string | $a_val | ) |
Definition at line 91 of file class.ilMediaPoolItem.php.
Referenced by read(), and ilMediaPoolPageGUI\updateMediaPoolPage().
ilMediaPoolItem::setType | ( | string | $a_val | ) |
Definition at line 57 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::update | ( | ) |
Definition at line 133 of file class.ilMediaPoolItem.php.
|
static |
Definition at line 189 of file class.ilMediaPoolItem.php.
References $DIC, $ilDB, ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilMediaPoolAppEventListener\handleEvent().
|
protected |
|
protected |
Definition at line 26 of file class.ilMediaPoolItem.php.
Referenced by getForeignId().
|
protected |
Definition at line 28 of file class.ilMediaPoolItem.php.
Referenced by getId().
|
protected |
Definition at line 30 of file class.ilMediaPoolItem.php.
Referenced by getImportId().
|
protected |
Definition at line 25 of file class.ilMediaPoolItem.php.
Referenced by getTitle().
|
protected |
Definition at line 27 of file class.ilMediaPoolItem.php.
Referenced by getType().