ILIAS
Release_4_2_x_branch Revision 61807
|
Media Pool Item. More...
Public Member Functions | |
__construct ($a_id=0) | |
Construtor. | |
setId ($a_val) | |
Set id. | |
getId () | |
Get id. | |
setType ($a_val) | |
Set type. | |
getType () | |
Get type. | |
setForeignId ($a_val) | |
Set foreign id. | |
getForeignId () | |
Get foreign id. | |
setTitle ($a_val) | |
Set title. | |
getTitle () | |
Get title. | |
create () | |
Create. | |
read () | |
Read. | |
update () | |
Update. | |
delete () | |
Delete. |
Static Public Member Functions | |
static | lookupForeignId ($a_id) |
Lookup Foreign Id. | |
static | lookupType ($a_id) |
Lookup type. | |
static | lookupTitle ($a_id) |
Lookup title. | |
static | updateObjectTitle ($a_obj) |
Update object title. | |
static | getPoolForItemId ($a_id) |
Get media pools for item id. | |
static | getIdsForType ($a_id, $a_type) |
Get all ids for type. |
Static Private Member Functions | |
static | lookup ($a_id, $a_field) |
Lookup. |
ilMediaPoolItem::__construct | ( | $a_id = 0 | ) |
ilMediaPoolItem::create | ( | ) |
Create.
Definition at line 110 of file class.ilMediaPoolItem.php.
References $ilDB, getForeignId(), getTitle(), getType(), and setId().
ilMediaPoolItem::delete | ( | ) |
Delete.
@return |
Definition at line 167 of file class.ilMediaPoolItem.php.
References $ilDB.
ilMediaPoolItem::getForeignId | ( | ) |
Get foreign id.
Definition at line 82 of file class.ilMediaPoolItem.php.
Referenced by create().
ilMediaPoolItem::getId | ( | ) |
Get id.
Definition at line 42 of file class.ilMediaPoolItem.php.
|
static |
Get all ids for type.
@return |
Definition at line 270 of file class.ilMediaPoolItem.php.
References $ilDB.
Referenced by ilMediaPoolExporter\getXmlExportTailDependencies().
|
static |
Get media pools for item id.
Definition at line 249 of file class.ilMediaPoolItem.php.
References $ilDB.
Referenced by ilPageEditorGUI\showSnippetInfo().
ilMediaPoolItem::getTitle | ( | ) |
Get title.
Definition at line 102 of file class.ilMediaPoolItem.php.
References $title.
Referenced by create().
ilMediaPoolItem::getType | ( | ) |
Get type.
Definition at line 62 of file class.ilMediaPoolItem.php.
Referenced by create().
|
staticprivate |
Lookup.
@return |
Definition at line 182 of file class.ilMediaPoolItem.php.
References $ilDB.
Referenced by lookupForeignId(), lookupTitle(), and lookupType().
|
static |
Lookup Foreign Id.
int | mep item id |
Definition at line 200 of file class.ilMediaPoolItem.php.
References lookup().
Referenced by ilObjMediaPoolGUI\copyToClipboard(), ilPCMediaObjectGUI\create(), ilObjMediaPool\delete(), ilObjMediaPool\deleteChild(), ilObjMediaPoolGUI\executeCommand(), ilPCMediaObjectGUI\selectObjectReference(), and ilInternalLinkGUI\showLinkHelp().
|
static |
Lookup title.
int | mep item id |
Definition at line 220 of file class.ilMediaPoolItem.php.
References lookup().
Referenced by ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPool\deleteChild(), ilObjMediaPoolGUI\getFolderValues(), ilObjMediaPoolSubItemListGUI\getHTML(), ilObjMediaPoolGUI\getMediaPoolPageValues(), ilObjMediaPoolGUI\insertFromClipboard(), and ilMediaPoolPageGUI\showPage().
|
static |
Lookup type.
int | mep item id |
Definition at line 210 of file class.ilMediaPoolItem.php.
References lookup().
Referenced by ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPool\deleteChild(), and ilObjMediaPoolSubItemListGUI\getHTML().
ilMediaPoolItem::read | ( | ) |
Read.
Definition at line 128 of file class.ilMediaPoolItem.php.
References $ilDB, setForeignId(), setTitle(), and setType().
Referenced by __construct().
ilMediaPoolItem::setForeignId | ( | $a_val | ) |
Set foreign id.
int | foreign id |
Definition at line 72 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setId | ( | $a_val | ) |
Set id.
int | id |
Definition at line 32 of file class.ilMediaPoolItem.php.
Referenced by __construct(), and create().
ilMediaPoolItem::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 92 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::setType | ( | $a_val | ) |
Set type.
string | type |
Definition at line 52 of file class.ilMediaPoolItem.php.
Referenced by read().
ilMediaPoolItem::update | ( | ) |
Update.
@return |
Definition at line 149 of file class.ilMediaPoolItem.php.
References $ilDB.
|
static |
Update object title.
@return |
Definition at line 231 of file class.ilMediaPoolItem.php.
References $ilDB, $title, ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilMediaPoolAppEventListener\handleEvent().