ILIAS  release_8 Revision v8.24
class.ilBiblData.php
Go to the documentation of this file.
1<?php
2
20
28{
29 public const TABLE_NAME = 'il_bibl_data';
30
31
32 public static function returnDbTableName(): string
33 {
34 return self::TABLE_NAME;
35 }
36
37
38 public function getConnectorContainerName(): string
39 {
40 return self::TABLE_NAME;
41 }
42
43
53 protected ?int $id = null;
60 protected ?string $filename = null;
67 protected ?int $is_online = null;
74 protected ?int $file_type = null;
75
83 protected ?string $rid = null;
84
85 public function getId(): ?int
86 {
87 return $this->id;
88 }
89
90
91 public function setId(int $id): void
92 {
93 $this->id = $id;
94 }
95
96
97 public function getFilename(): ?string
98 {
99 return $this->filename;
100 }
101
102
103 public function setFilename(string $filename): void
104 {
105 $this->filename = $filename;
106 }
107
108 public function isOnline(): bool
109 {
110 return (bool) $this->is_online;
111 }
112
113
114 public function setIsOnline(int $is_online): void
115 {
116 $this->is_online = $is_online;
117 }
118
119
120 public function getFileType(): int
121 {
122 return $this->file_type;
123 }
124
125
126 public function setFileType(int $file_type): void
127 {
128 $this->file_type = $file_type;
129 }
130
134 public function getResourceId(): ?string
135 {
136 return $this->rid;
137 }
138
139 public function setResourceId(string $rid): self
140 {
141 $this->rid = $rid;
142 return $this;
143 }
144}
Class ActiveRecord.
Class ilBiblData.
setResourceId(string $rid)
int $id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @c...
setFilename(string $filename)
int $file_type
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true
getConnectorContainerName()
@description Return the Name of your Connector Table
string $rid
@con_has_field true @con_fieldtype text @con_length 255 @con_is_notnull true
string $filename
@con_has_field true @con_fieldtype text @con_length 256 @con_is_notnull true
setId(int $id)
setIsOnline(int $is_online)
static returnDbTableName()
setFileType(int $file_type)
int $is_online
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...