ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
$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 20 of file class.ilMediaPoolItem.php.
References read(), and setId().
ilMediaPoolItem::create | ( | ) |
Create.
Definition at line 132 of file class.ilMediaPoolItem.php.
References $ilDB, getForeignId(), getImportId(), getTitle(), getType(), and setId().
ilMediaPoolItem::delete | ( | ) |
ilMediaPoolItem::getForeignId | ( | ) |
Get foreign id.
Definition at line 84 of file class.ilMediaPoolItem.php.
Referenced by create().
ilMediaPoolItem::getId | ( | ) |
|
static |
Get all ids for type.
Definition at line 295 of file class.ilMediaPoolItem.php.
References $a_type, $ilDB, and array.
Referenced by ilMediaPoolExporter\getXmlExportTailDependencies().
ilMediaPoolItem::getImportId | ( | ) |
Get import id.
Definition at line 104 of file class.ilMediaPoolItem.php.
References $import_id.
Referenced by create().
|
static |
Get media pools for item id.
Definition at line 274 of file class.ilMediaPoolItem.php.
Referenced by ilMediaPoolImporter\finalProcessing(), ilMediaPoolDataSet\importRecord(), and ilPageEditorGUI\showSnippetInfo().
ilMediaPoolItem::getTitle | ( | ) |
Get title.
Definition at line 124 of file class.ilMediaPoolItem.php.
References $title.
Referenced by create().
ilMediaPoolItem::getType | ( | ) |
Get type.
Definition at line 64 of file class.ilMediaPoolItem.php.
Referenced by create().
|
staticprivate |
|
static |
Lookup Foreign Id.
int | mep item id |
Definition at line 225 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 245 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 235 of file class.ilMediaPoolItem.php.
Referenced by ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), and ilObjMediaPoolSubItemListGUI\getHTML().
ilMediaPoolItem::read | ( | ) |
Read.
Definition at line 151 of file class.ilMediaPoolItem.php.
References $ilDB, setForeignId(), setImportId(), setTitle(), and setType().
Referenced by __construct().
ilMediaPoolItem::setForeignId | ( | $a_val | ) |
Set foreign id.
int | foreign id |
Definition at line 74 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setId | ( | $a_val | ) |
Set id.
int | id |
Definition at line 34 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 94 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 114 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setType | ( | $a_val | ) |
Set type.
string | type |
Definition at line 54 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::update | ( | ) |
|
static |
Update object title.
Definition at line 256 of file class.ilMediaPoolItem.php.
References $ilDB, $title, ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilMediaPoolAppEventListener\handleEvent().
|
protected |
Definition at line 13 of file class.ilMediaPoolItem.php.
Referenced by getImportId().