|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilMediaItem:Public Member Functions | |
| __construct (int $a_id=0) | |
| setId (int $a_id) | |
| set media item id More... | |
| getId () | |
| setMobId (int $a_mob_id) | |
| set id of parent media object More... | |
| getMobId () | |
| setNr (int $a_nr) | |
| set number of media item within media object More... | |
| getNr () | |
| setDuration (int $a_val) | |
| getDuration () | |
| setTextRepresentation (string $a_val) | |
| getTextRepresentation () | |
| setUploadHash (string $a_val) | |
| getUploadHash () | |
| create () | |
| update () | |
| writeParameter (string $a_name, string $a_value) | |
| read () | |
| read media item data (item id or (mob_id and nr) must be set) More... | |
| writeThumbTried (string $a_tried) | |
| write thumbnail creation try data ("y"/"n") More... | |
| setPurpose (string $a_purpose) | |
| getPurpose () | |
| setLocation (string $a_location) | |
| getLocation () | |
| setLocationType (string $a_type) | |
| getLocationType () | |
| setFormat (string $a_format) | |
| getFormat () | |
| setThumbTried (string $a_tried) | |
| getThumbTried () | |
| addMapArea (ilMapArea $a_map_area) | |
| deleteMapArea (int $nr) | |
| getMapArea (int $nr) | |
| getMapAreas () | |
| getWidth () | |
| setWidth (string $a_width) | |
| getHeight () | |
| setHeight (string $a_height) | |
| getOriginalSize () | |
| setCaption (string $a_caption) | |
| getCaption () | |
| setHAlign (string $a_halign) | |
| set horizontal align More... | |
| getHAlign () | |
| setParameter (string $a_name, string $a_value) | |
| resetParameters () | |
| setParameters (string $a_par) | |
| set all parameters via parameter string (format: par1="value1", par2="value2", ...) More... | |
| getParameters () | |
| getParameterString () | |
| getParameter (string $a_name) | |
| getWorkDirectory () | |
| get work directory for image map editing More... | |
| createWorkDirectory () | |
| create work directory for image map editing More... | |
| getSuffix () | |
| get location suffix More... | |
| getMapWorkCopyType () | |
| get image type of image map work copy More... | |
| getMapWorkCopyName (bool $a_reference_copy=false) | |
| Get name of image map work copy file. More... | |
| getDirectory () | |
| get media file directory More... | |
| getThumbnailDirectory (string $a_mode="filesystem") | |
| get media file directory More... | |
| getThumbnailTarget (string $a_size="") | |
| get thumbnail target More... | |
| copyOriginal () | |
| Copy the original file for map editing to the working directory. More... | |
| makeMapWorkCopy (int $a_area_nr=0, bool $a_exclude=false) | |
| make map work copy of image More... | |
| addAreaToMapWorkCopy (string $a_shape, string $a_coords) | |
| draw a new area in work image More... | |
| outputMapWorkCopy () | |
| output raw map work copy file More... | |
| buildMapWorkImage () | |
| build image map work image More... | |
| saveMapWorkImage () | |
| save image map work image as file More... | |
| getMapWorkImage () | |
| getMapAreasXML (bool $a_insert_inst=false, int $a_inst=0) | |
| get xml code of media items' areas More... | |
| extractUrlParameters () | |
| Extract parameters of special external references to parameter array. More... | |
| determineDuration () | |
Static Public Member Functions | |
| static | _lookupLocationForMobId (int $a_mob_id, string $a_purpose) |
| static | _lookupMobId (int $a_med_id) |
| static | _getMediaItemsOfMObId (int $a_mobId, string $a_purpose) |
| read media item with specific purpose and mobId More... | |
| static | _getMediaItemsOfMOb (ilObjMediaObject $a_mob) |
| Read media items into(!) media object (static) More... | |
| static | deleteAllItemsOfMob (int $a_mob_id) |
| static | checkParameter (string $a_par, string $a_val) |
| Check parameter (filter javascript related and other unsafe parameters/values) More... | |
| static | _resolveMapAreaLinks (int $a_mob_id) |
| resolve internal links of all media items of a media object More... | |
| static | _getMapAreasIntLinks (int $a_mob_id) |
| get all internal links of map areas of a mob More... | |
| static | getMediaItemsForUploadHash (string $a_hash) |
| Get media items for upload hash. More... | |
Data Fields | |
| int | $id = 0 |
| string | $purpose = "" |
| string | $location = "" |
| string | $location_type = "" |
| string | $format = "" |
| string | $width = "" |
| string | $height = "" |
| string | $caption = "" |
| string | $halign = "" |
| array | $parameters = [] |
| int | $mob_id = 0 |
| int | $nr = 0 |
| array | $mapareas = [] |
| int | $map_cnt = 0 |
| $map_image = null | |
| int | $color1 |
| int | $color2 |
Protected Attributes | |
| string | $tried_thumb = "" |
| string | $text_representation = "" |
| ilDBInterface | $db |
| ilLanguage | $lng |
| ILIAS Filesystem Util Convert LegacyImages | $image_converter |
| int | $duration = 0 |
| string | $upload_hash = '' |
Static Private Member Functions | |
| static | getGDSupportedImageType (string $a_desired_type) |
| returns the best supported image type by this PHP build More... | |
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 Class ilMediaItem Media Item, component of a media object (file or reference)
Definition at line 24 of file class.ilMediaItem.php.
| ilMediaItem::__construct | ( | int | $a_id = 0 | ) |
Definition at line 55 of file class.ilMediaItem.php.
References $DIC, ILIAS\Repository\lng(), read(), and setId().
Here is the call graph for this function:
|
static |
get all internal links of map areas of a mob
| int | $a_mob_id | media object id |
Definition at line 1148 of file class.ilMediaItem.php.
References $DIC, $ilDB, ILIAS\LTI\ToolProvider\$key, and ilMapArea\_getIntLinks().
Referenced by ilPageObjectGUI\displayMedia(), ilCOPageHTMLExport\exportHTMLMOB(), ILIAS\COPage\Link\LinkManager\getDefaultMediaCollector(), ilLMPresentationGUI\ilMedia(), and ilGlossaryPresentationGUI\media().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Read media items into(!) media object (static)
Definition at line 433 of file class.ilMediaItem.php.
References $DIC, $ilDB, ilMapArea\_getMaxNr(), ilObjMediaObject\addMediaItem(), and ilObject\getId().
Referenced by ilObjMediaObject\read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
read media item with specific purpose and mobId
| int | $a_mobId | |
| string | $a_purpose |
Definition at line 410 of file class.ilMediaItem.php.
Referenced by ilObjectFeedWriter\__construct().
Here is the caller graph for this function:
|
static |
Definition at line 366 of file class.ilMediaItem.php.
Referenced by ilObjMediaObject\_lookupItemPath().
Here is the caller graph for this function:
|
static |
Definition at line 386 of file class.ilMediaItem.php.
Referenced by ilMapArea\_getMobsForTarget().
Here is the caller graph for this function:
|
static |
resolve internal links of all media items of a media object
| int | $a_mob_id | media object id |
Definition at line 1126 of file class.ilMediaItem.php.
References $DIC, $ilDB, and ilMapArea\_resolveIntLinks().
Referenced by ilQuestionPageParser\processPagesToParse(), and ILIAS\COPage\Link\LinkManager\resolveIntLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::addAreaToMapWorkCopy | ( | string | $a_shape, |
| string | $a_coords | ||
| ) |
draw a new area in work image
| string | $a_shape | shape |
| string | $a_coords | coordinates string |
Definition at line 958 of file class.ilMediaItem.php.
References buildMapWorkImage(), getHeight(), getMapWorkCopyName(), getMapWorkImage(), getWidth(), and saveMapWorkImage().
Here is the call graph for this function:| ilMediaItem::addMapArea | ( | ilMapArea | $a_map_area | ) |
Definition at line 561 of file class.ilMediaItem.php.
References $map_cnt.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::buildMapWorkImage | ( | ) |
build image map work image
Definition at line 1008 of file class.ilMediaItem.php.
References getMapWorkCopyName(), and getMapWorkCopyType().
Referenced by addAreaToMapWorkCopy(), ilMediaAliasItem\makeMapWorkCopy(), and makeMapWorkCopy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check parameter (filter javascript related and other unsafe parameters/values)
Definition at line 685 of file class.ilMediaItem.php.
Referenced by ilMediaAliasItem\setParameters().
Here is the caller graph for this function:| ilMediaItem::copyOriginal | ( | ) |
Copy the original file for map editing to the working directory.
| ilMapEditingException |
Definition at line 865 of file class.ilMediaItem.php.
References $lng, createWorkDirectory(), getDirectory(), getHeight(), getLocation(), getLocationType(), getMapWorkCopyName(), getMapWorkCopyType(), getWidth(), and ilLanguage\txt().
Referenced by ilMediaAliasItem\makeMapWorkCopy(), and makeMapWorkCopy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::create | ( | ) |
Definition at line 198 of file class.ilMediaItem.php.
References $db, $ilDB, $params, getCaption(), getDuration(), getFormat(), getHAlign(), getHeight(), getId(), getLocation(), getLocationType(), getMobId(), getNr(), getParameters(), getPurpose(), getTextRepresentation(), getUploadHash(), getWidth(), and setId().
Here is the call graph for this function:| ilMediaItem::createWorkDirectory | ( | ) |
create work directory for image map editing
Definition at line 738 of file class.ilMediaItem.php.
References ilFileUtils\createDirectory(), ilFileUtils\getDataDir(), and getWorkDirectory().
Referenced by copyOriginal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 483 of file class.ilMediaItem.php.
Referenced by ilObjMediaObject\delete(), and ilObjMediaObject\update().
Here is the caller graph for this function:| ilMediaItem::deleteMapArea | ( | int | $nr | ) |
| ilMediaItem::determineDuration | ( | ) |
Definition at line 1184 of file class.ilMediaItem.php.
References Vendor\Package\$e, ilObjMediaObject\_getDirectory(), ilExternalMediaAnalyzer\extractVimeoParameters(), getLocation(), getLocationType(), getMobId(), ilExternalMediaAnalyzer\getVimeoMetadata(), ilFileUtils\ilTempnam(), ilExternalMediaAnalyzer\isVimeo(), ilFileUtils\makeDir(), and setDuration().
Referenced by ilObjMediaCastGUI\getDuration().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::extractUrlParameters | ( | ) |
Extract parameters of special external references to parameter array.
Definition at line 1173 of file class.ilMediaItem.php.
References ilExternalMediaAnalyzer\extractUrlParameters(), getLocation(), getParameters(), and setParameter().
Here is the call graph for this function:| ilMediaItem::getCaption | ( | ) |
Definition at line 636 of file class.ilMediaItem.php.
References $caption.
Referenced by create(), and update().
Here is the caller graph for this function:| ilMediaItem::getDirectory | ( | ) |
get media file directory
Definition at line 790 of file class.ilMediaItem.php.
References ilObjMediaObject\_getDirectory(), and getMobId().
Referenced by copyOriginal(), and getThumbnailTarget().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::getDuration | ( | ) |
Definition at line 173 of file class.ilMediaItem.php.
References $duration.
Referenced by create(), ilObjMediaCastGUI\getDuration(), and update().
Here is the caller graph for this function:| ilMediaItem::getFormat | ( | ) |
Definition at line 546 of file class.ilMediaItem.php.
References $format.
Referenced by create(), getOriginalSize(), getThumbnailTarget(), and update().
Here is the caller graph for this function:
|
staticprivate |
returns the best supported image type by this PHP build
| string | $a_desired_type |
Definition at line 119 of file class.ilMediaItem.php.
| ilMediaItem::getHAlign | ( | ) |
Definition at line 649 of file class.ilMediaItem.php.
References $halign.
Referenced by create(), and update().
Here is the caller graph for this function:| ilMediaItem::getHeight | ( | ) |
Definition at line 601 of file class.ilMediaItem.php.
References $height.
Referenced by addAreaToMapWorkCopy(), copyOriginal(), create(), ilMediaAliasItem\makeMapWorkCopy(), makeMapWorkCopy(), and update().
Here is the caller graph for this function:| ilMediaItem::getId | ( | ) |
Definition at line 81 of file class.ilMediaItem.php.
References $id.
Referenced by create(), getWorkDirectory(), read(), update(), writeParameter(), and writeThumbTried().
Here is the caller graph for this function:| ilMediaItem::getLocation | ( | ) |
Definition at line 526 of file class.ilMediaItem.php.
References $location.
Referenced by copyOriginal(), create(), determineDuration(), extractUrlParameters(), getMapWorkCopyName(), getOriginalSize(), getSuffix(), getThumbnailTarget(), update(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::getLocationType | ( | ) |
Definition at line 536 of file class.ilMediaItem.php.
References $location_type.
Referenced by copyOriginal(), create(), determineDuration(), getOriginalSize(), getThumbnailTarget(), update(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::getMapArea | ( | int | $nr | ) |
Definition at line 581 of file class.ilMediaItem.php.
| ilMediaItem::getMapAreas | ( | ) |
| ilMediaItem::getMapAreasXML | ( | bool | $a_insert_inst = false, |
| int | $a_inst = 0 |
||
| ) |
get xml code of media items' areas
Definition at line 1074 of file class.ilMediaItem.php.
References IL_INT_LINK.
| ilMediaItem::getMapWorkCopyName | ( | bool | $a_reference_copy = false | ) |
Get name of image map work copy file.
| bool | $a_reference_copy | get name for copy of external referenced image |
Definition at line 771 of file class.ilMediaItem.php.
References getLocation(), getMapWorkCopyType(), and getWorkDirectory().
Referenced by addAreaToMapWorkCopy(), buildMapWorkImage(), copyOriginal(), ilMediaAliasItem\makeMapWorkCopy(), makeMapWorkCopy(), outputMapWorkCopy(), and saveMapWorkImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::getMapWorkCopyType | ( | ) |
get image type of image map work copy
Definition at line 762 of file class.ilMediaItem.php.
References getSuffix().
Referenced by buildMapWorkImage(), copyOriginal(), getMapWorkCopyName(), outputMapWorkCopy(), and saveMapWorkImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::getMapWorkImage | ( | ) |
Definition at line 1066 of file class.ilMediaItem.php.
References $map_image.
Referenced by addAreaToMapWorkCopy(), ilMediaAliasItem\makeMapWorkCopy(), and makeMapWorkCopy().
Here is the caller graph for this function:
|
static |
Get media items for upload hash.
| string | $a_hash | upload hash |
Definition at line 1235 of file class.ilMediaItem.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilMediaCreationGUI\editTitlesAndDescriptions(), ilObjMediaPoolGUI\editTitlesAndDescriptions(), ilMediaCreationGUI\saveTitlesAndDescriptions(), and ilObjMediaPoolGUI\saveTitlesAndDescriptions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::getMobId | ( | ) |
Definition at line 94 of file class.ilMediaItem.php.
References $mob_id.
Referenced by create(), determineDuration(), getDirectory(), getOriginalSize(), getThumbnailDirectory(), getThumbnailTarget(), read(), and update().
Here is the caller graph for this function:| ilMediaItem::getNr | ( | ) |
| ilMediaItem::getOriginalSize | ( | ) |
Definition at line 611 of file class.ilMediaItem.php.
References ilObjMediaObject\_getDirectory(), ilUtil\deducibleSize(), getFormat(), ilMediaImageUtil\getImageSize(), getLocation(), getLocationType(), and getMobId().
Here is the call graph for this function:| ilMediaItem::getParameter | ( | string | $a_name | ) |
Definition at line 722 of file class.ilMediaItem.php.
| ilMediaItem::getParameters | ( | ) |
Definition at line 705 of file class.ilMediaItem.php.
References $parameters.
Referenced by create(), extractUrlParameters(), and update().
Here is the caller graph for this function:| ilMediaItem::getParameterString | ( | ) |
Definition at line 710 of file class.ilMediaItem.php.
| ilMediaItem::getPurpose | ( | ) |
Definition at line 516 of file class.ilMediaItem.php.
References $purpose.
Referenced by create(), getThumbnailTarget(), update(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::getSuffix | ( | ) |
get location suffix
Definition at line 752 of file class.ilMediaItem.php.
References getLocation().
Referenced by getMapWorkCopyType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::getTextRepresentation | ( | ) |
Definition at line 183 of file class.ilMediaItem.php.
References $text_representation.
Referenced by create(), and update().
Here is the caller graph for this function:| ilMediaItem::getThumbnailDirectory | ( | string | $a_mode = "filesystem" | ) |
get media file directory
Definition at line 798 of file class.ilMediaItem.php.
References ilObjMediaObject\_getThumbnailDirectory(), and getMobId().
Referenced by getThumbnailTarget().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::getThumbnailTarget | ( | string | $a_size = "" | ) |
get thumbnail target
Definition at line 807 of file class.ilMediaItem.php.
References $format, ilObjMediaObject\_createThumbnailDirectory(), ilObjMediaObject\_getURL(), getDirectory(), getFormat(), getLocation(), getLocationType(), getMobId(), getPurpose(), getThumbnailDirectory(), getThumbTried(), and writeThumbTried().
Here is the call graph for this function:| ilMediaItem::getThumbTried | ( | ) |
Definition at line 556 of file class.ilMediaItem.php.
References $tried_thumb.
Referenced by getThumbnailTarget().
Here is the caller graph for this function:| ilMediaItem::getUploadHash | ( | ) |
Definition at line 193 of file class.ilMediaItem.php.
References $upload_hash.
Referenced by create(), and update().
Here is the caller graph for this function:| ilMediaItem::getWidth | ( | ) |
Definition at line 591 of file class.ilMediaItem.php.
References $width.
Referenced by addAreaToMapWorkCopy(), copyOriginal(), create(), ilMediaAliasItem\makeMapWorkCopy(), makeMapWorkCopy(), and update().
Here is the caller graph for this function:| ilMediaItem::getWorkDirectory | ( | ) |
get work directory for image map editing
Definition at line 730 of file class.ilMediaItem.php.
References ilFileUtils\getDataDir(), and getId().
Referenced by createWorkDirectory(), and getMapWorkCopyName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::makeMapWorkCopy | ( | int | $a_area_nr = 0, |
| bool | $a_exclude = false |
||
| ) |
make map work copy of image
| int | $a_area_nr | draw area $a_area_nr only |
| bool | $a_exclude | true: draw all areas but area $a_area_nr |
Definition at line 912 of file class.ilMediaItem.php.
References $lng, buildMapWorkImage(), copyOriginal(), getHeight(), getMapWorkCopyName(), getMapWorkImage(), getWidth(), and saveMapWorkImage().
Here is the call graph for this function:| ilMediaItem::outputMapWorkCopy | ( | ) |
output raw map work copy file
Definition at line 994 of file class.ilMediaItem.php.
References exit, getMapWorkCopyName(), getMapWorkCopyType(), and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by ilImageMapEditorGUI\showImageMap().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::read | ( | ) |
read media item data (item id or (mob_id and nr) must be set)
Definition at line 299 of file class.ilMediaItem.php.
References $db, $ilDB, ilMapArea\_getMaxNr(), addMapArea(), getId(), getMobId(), getNr(), setCaption(), setDuration(), setFormat(), setHAlign(), setHeight(), setId(), setLocation(), setLocationType(), setMobId(), setNr(), setParameter(), setPurpose(), setTextRepresentation(), setThumbTried(), setUploadHash(), and setWidth().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::resetParameters | ( | ) |
Definition at line 663 of file class.ilMediaItem.php.
Referenced by setParameters().
Here is the caller graph for this function:| ilMediaItem::saveMapWorkImage | ( | ) |
save image map work image as file
Definition at line 1040 of file class.ilMediaItem.php.
References getMapWorkCopyName(), and getMapWorkCopyType().
Referenced by addAreaToMapWorkCopy(), ilMediaAliasItem\makeMapWorkCopy(), and makeMapWorkCopy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaItem::setCaption | ( | string | $a_caption | ) |
Definition at line 631 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setDuration | ( | int | $a_val | ) |
Definition at line 168 of file class.ilMediaItem.php.
Referenced by determineDuration(), and read().
Here is the caller graph for this function:| ilMediaItem::setFormat | ( | string | $a_format | ) |
Definition at line 541 of file class.ilMediaItem.php.
Referenced by read(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::setHAlign | ( | string | $a_halign | ) |
set horizontal align
Definition at line 644 of file class.ilMediaItem.php.
Referenced by read(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::setHeight | ( | string | $a_height | ) |
Definition at line 606 of file class.ilMediaItem.php.
Referenced by read(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::setId | ( | int | $a_id | ) |
set media item id
Definition at line 76 of file class.ilMediaItem.php.
Referenced by __construct(), create(), and read().
Here is the caller graph for this function:| ilMediaItem::setLocation | ( | string | $a_location | ) |
Definition at line 521 of file class.ilMediaItem.php.
Referenced by read(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::setLocationType | ( | string | $a_type | ) |
Definition at line 531 of file class.ilMediaItem.php.
Referenced by read(), and ilObjMediaCastGUI\updateMediaItem().
Here is the caller graph for this function:| ilMediaItem::setMobId | ( | int | $a_mob_id | ) |
set id of parent media object
Definition at line 89 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setNr | ( | int | $a_nr | ) |
set number of media item within media object
Definition at line 102 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setParameter | ( | string | $a_name, |
| string | $a_value | ||
| ) |
Definition at line 654 of file class.ilMediaItem.php.
Referenced by extractUrlParameters(), read(), and setParameters().
Here is the caller graph for this function:| ilMediaItem::setParameters | ( | string | $a_par | ) |
set all parameters via parameter string (format: par1="value1", par2="value2", ...)
Definition at line 671 of file class.ilMediaItem.php.
References ilUtil\extractParameterString(), resetParameters(), and setParameter().
Here is the call graph for this function:| ilMediaItem::setPurpose | ( | string | $a_purpose | ) |
Definition at line 511 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setTextRepresentation | ( | string | $a_val | ) |
Definition at line 178 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setThumbTried | ( | string | $a_tried | ) |
Definition at line 551 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setUploadHash | ( | string | $a_val | ) |
Definition at line 188 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::setWidth | ( | string | $a_width | ) |
Definition at line 596 of file class.ilMediaItem.php.
Referenced by read().
Here is the caller graph for this function:| ilMediaItem::update | ( | ) |
Definition at line 246 of file class.ilMediaItem.php.
References $db, $ilDB, $params, getCaption(), getDuration(), getFormat(), getHAlign(), getHeight(), getId(), getLocation(), getLocationType(), getMobId(), getNr(), getParameters(), getPurpose(), getTextRepresentation(), getUploadHash(), and getWidth().
Here is the call graph for this function:| ilMediaItem::writeParameter | ( | string | $a_name, |
| string | $a_value | ||
| ) |
Definition at line 283 of file class.ilMediaItem.php.
References $db, $ilDB, and getId().
Here is the call graph for this function:| ilMediaItem::writeThumbTried | ( | string | $a_tried | ) |
write thumbnail creation try data ("y"/"n")
Definition at line 355 of file class.ilMediaItem.php.
References $db, $ilDB, $q, and getId().
Referenced by getThumbnailTarget().
Here is the call graph for this function:
Here is the caller graph for this function:| string ilMediaItem::$caption = "" |
Definition at line 39 of file class.ilMediaItem.php.
Referenced by getCaption().
| int ilMediaItem::$color1 |
Definition at line 50 of file class.ilMediaItem.php.
| int ilMediaItem::$color2 |
Definition at line 51 of file class.ilMediaItem.php.
|
protected |
Definition at line 28 of file class.ilMediaItem.php.
Referenced by create(), read(), update(), writeParameter(), and writeThumbTried().
|
protected |
Definition at line 52 of file class.ilMediaItem.php.
Referenced by getDuration().
| string ilMediaItem::$format = "" |
Definition at line 36 of file class.ilMediaItem.php.
Referenced by getFormat(), and getThumbnailTarget().
| string ilMediaItem::$halign = "" |
Definition at line 40 of file class.ilMediaItem.php.
Referenced by getHAlign().
| string ilMediaItem::$height = "" |
Definition at line 38 of file class.ilMediaItem.php.
Referenced by getHeight().
| int ilMediaItem::$id = 0 |
Definition at line 32 of file class.ilMediaItem.php.
Referenced by getId().
|
protected |
Definition at line 30 of file class.ilMediaItem.php.
|
protected |
Definition at line 29 of file class.ilMediaItem.php.
Referenced by copyOriginal(), and makeMapWorkCopy().
| string ilMediaItem::$location = "" |
Definition at line 34 of file class.ilMediaItem.php.
Referenced by getLocation().
| string ilMediaItem::$location_type = "" |
Definition at line 35 of file class.ilMediaItem.php.
Referenced by getLocationType().
| int ilMediaItem::$map_cnt = 0 |
Definition at line 45 of file class.ilMediaItem.php.
Referenced by addMapArea(), and deleteMapArea().
| ilMediaItem::$map_image = null |
Definition at line 49 of file class.ilMediaItem.php.
Referenced by getMapWorkImage().
| array ilMediaItem::$mapareas = [] |
Definition at line 44 of file class.ilMediaItem.php.
Referenced by getMapAreas().
| int ilMediaItem::$mob_id = 0 |
Definition at line 42 of file class.ilMediaItem.php.
Referenced by getMobId().
| int ilMediaItem::$nr = 0 |
Definition at line 43 of file class.ilMediaItem.php.
Referenced by getNr().
| array ilMediaItem::$parameters = [] |
Definition at line 41 of file class.ilMediaItem.php.
Referenced by getParameters().
| string ilMediaItem::$purpose = "" |
Definition at line 33 of file class.ilMediaItem.php.
Referenced by getPurpose().
|
protected |
Definition at line 27 of file class.ilMediaItem.php.
Referenced by getTextRepresentation().
|
protected |
Definition at line 26 of file class.ilMediaItem.php.
Referenced by getThumbTried().
|
protected |
Definition at line 53 of file class.ilMediaItem.php.
Referenced by getUploadHash().
| string ilMediaItem::$width = "" |
Definition at line 37 of file class.ilMediaItem.php.
Referenced by getWidth().