27 $this->database =
$DIC->database();
33 public function getId() : string
45 $r = $this->database->queryF(
"SELECT file_id FROM file_data WHERE rid = %s", [
'text'],
47 $d = $this->database->fetchObject($r);
48 if (isset(
$d->file_id)) {
50 $this->database->manipulateF(
"UPDATE object_data SET offline = 1 WHERE obj_id = %s", [
'text'],
52 }
catch (Throwable $t) {
An exception for terminatinating execution or to throw for unit testing.
Interface Identification.
Class AbstractResourceStakeholder.
Class ilObjFileStakeholder.
__construct(int $owner=6)
ilObjFileStakeholder constructor.
resourceHasBeenDeleted(ResourceIdentification $identification)
@inheritDoc
for( $i=6;$i< 13;$i++) for($i=1; $i< 13; $i++) $d