ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Media Pool Item. More...
Public Member Functions | |
__construct ($a_id=0) | |
Construtor. More... | |
setId ($a_val) | |
Set id. More... | |
getId () | |
Get id. More... | |
setType ($a_val) | |
Set type. More... | |
getType () | |
Get type. More... | |
setForeignId ($a_val) | |
Set foreign id. More... | |
getForeignId () | |
Get foreign id. More... | |
setImportId ($a_val) | |
Set import id. More... | |
getImportId () | |
Get import id. More... | |
setTitle ($a_val) | |
Set title. More... | |
getTitle () | |
Get title. More... | |
create () | |
Create. More... | |
read () | |
Read. More... | |
update () | |
Update. More... | |
delete () | |
Delete. More... | |
Static Public Member Functions | |
static | lookupForeignId ($a_id) |
Lookup Foreign Id. More... | |
static | lookupType ($a_id) |
Lookup type. More... | |
static | lookupTitle ($a_id) |
Lookup title. More... | |
static | updateObjectTitle ($a_obj) |
Update object title. More... | |
static | getPoolForItemId ($a_id) |
Get media pools for item id. More... | |
static | getIdsForType ($a_id, $a_type) |
Get all ids for type. More... | |
Protected Attributes | |
$db | |
$import_id | |
Static Private Member Functions | |
static | lookup ($a_id, $a_field) |
Lookup. More... | |
ilMediaPoolItem::__construct | ( | $a_id = 0 | ) |
Construtor.
int | media pool item id |
Definition at line 25 of file class.ilMediaPoolItem.php.
References $DIC, read(), and setId().
ilMediaPoolItem::create | ( | ) |
Create.
Definition at line 139 of file class.ilMediaPoolItem.php.
References $db, $ilDB, getForeignId(), getImportId(), getTitle(), getType(), and setId().
ilMediaPoolItem::delete | ( | ) |
ilMediaPoolItem::getForeignId | ( | ) |
Get foreign id.
Definition at line 91 of file class.ilMediaPoolItem.php.
Referenced by create().
ilMediaPoolItem::getId | ( | ) |
|
static |
Get all ids for type.
Definition at line 309 of file class.ilMediaPoolItem.php.
References $a_type, $DIC, $ilDB, and array.
Referenced by ilMepMultiSrt\getMobIds(), and ilMediaPoolExporter\getXmlExportTailDependencies().
ilMediaPoolItem::getImportId | ( | ) |
Get import id.
Definition at line 111 of file class.ilMediaPoolItem.php.
References $import_id.
Referenced by create().
|
static |
Get media pools for item id.
Definition at line 286 of file class.ilMediaPoolItem.php.
References $DIC, $ilDB, and array.
Referenced by ilMediaPoolImporter\finalProcessing(), ilMediaPoolDataSet\importRecord(), and ilPageEditorGUI\showSnippetInfo().
ilMediaPoolItem::getTitle | ( | ) |
Get title.
Definition at line 131 of file class.ilMediaPoolItem.php.
References $title.
Referenced by create().
ilMediaPoolItem::getType | ( | ) |
Get type.
Definition at line 71 of file class.ilMediaPoolItem.php.
References $type.
Referenced by create().
|
staticprivate |
|
static |
Lookup Foreign Id.
int | mep item id |
Definition at line 235 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPool\copyTreeContent(), ilPCMediaObjectGUI\create(), ilObjMediaPool\delete(), ilObjMediaPool\deleteChild(), ilObjMediaPoolGUI\executeCommand(), ilObjMediaPoolSubItemListGUI\parseImage(), ilPCMediaObjectGUI\selectObjectReference(), and ilInternalLinkGUI\showLinkHelp().
|
static |
Lookup title.
int | mep item id |
Definition at line 255 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\getFolderValues(), ilObjMediaPoolSubItemListGUI\getHTML(), ilObjMediaPoolGUI\getMediaPoolPageValues(), ilObjMediaPoolGUI\insertFromClipboard(), ilMediaPoolPage\lookupTitle(), ilPCContentInclude\modifyPageContentPostXsl(), and ilMediaPoolPageGUI\showPage().
|
static |
Lookup type.
int | mep item id |
Definition at line 245 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), and ilObjMediaPoolSubItemListGUI\getHTML().
ilMediaPoolItem::read | ( | ) |
Read.
Definition at line 158 of file class.ilMediaPoolItem.php.
References $db, $ilDB, setForeignId(), setImportId(), setTitle(), and setType().
Referenced by __construct().
ilMediaPoolItem::setForeignId | ( | $a_val | ) |
Set foreign id.
int | foreign id |
Definition at line 81 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setId | ( | $a_val | ) |
Set id.
int | id |
Definition at line 41 of file class.ilMediaPoolItem.php.
Referenced by __construct(), and create().
ilMediaPoolItem::setImportId | ( | $a_val | ) |
Set import id.
string | $a_val | import id |
Definition at line 101 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 121 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setType | ( | $a_val | ) |
Set type.
string | type |
Definition at line 61 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::update | ( | ) |
|
static |
Update object title.
Definition at line 266 of file class.ilMediaPoolItem.php.
References $DIC, $ilDB, $title, ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilMediaPoolAppEventListener\handleEvent().
|
protected |
|
protected |
Definition at line 18 of file class.ilMediaPoolItem.php.
Referenced by getImportId().