28 protected function deletePreview(): void
31 if ($this->getMode() !== self::MODE_OBJECT) {
42 protected function createPreview(
bool $force =
false): void
45 if ($this->getMode() != self::MODE_OBJECT) {
static deletePreview(int $a_obj_id)
Deletes the preview for the object with the specified id.
static createPreview(\ilObject $a_obj, bool $a_force=false)
Creates the preview for the object with the specified id.