ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilBiblField.php
Go to the documentation of this file.
1<?php
2
24{
25 public const TABLE_NAME = 'il_bibl_field';
26
27 public static function returnDbTableName(): string
28 {
29 return self::TABLE_NAME;
30 }
31
32 #[\Override]
33 public function getConnectorContainerName(): string
34 {
35 return self::TABLE_NAME;
36 }
37
47 protected ?int $id = null;
54 protected ?string $identifier = null;
61 protected int $data_type = 0;
67 protected ?int $position = null;
74 protected bool $is_standard_field = true;
75
76 public function getId(): ?int
77 {
78 return $this->id;
79 }
80
81 public function setId(int $id): void
82 {
83 $this->id = $id;
84 }
85
86 public function getIdentifier(): string
87 {
88 return trim((string) $this->identifier);
89 }
90
91 public function setIdentifier(string $identifier): void
92 {
93 $this->identifier = trim($identifier);
94 }
95
96 public function getPosition(): ?int
97 {
98 return $this->position;
99 }
100
101 public function setPosition(int $position): void
102 {
103 $this->position = $position;
104 }
105
106 public function isStandardField(): bool
107 {
109 }
110
111 public function setIsStandardField(bool $is_standard_field): void
112 {
113 $this->is_standard_field = $is_standard_field;
114 }
115
116 public function getDataType(): int
117 {
118 return $this->data_type;
119 }
120
121 public function setDataType(int $data_type): void
122 {
123 $this->data_type = $data_type;
124 }
125}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setDataType(int $data_type)
string $identifier
@con_has_field true @con_fieldtype text @con_length 50 @con_is_notnull true
int $data_type
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true
int $position
@con_has_field true @con_fieldtype integer @con_length 3
setPosition(int $position)
setIdentifier(string $identifier)
getConnectorContainerName()
@description Return the Name of your Connector Table
bool $is_standard_field
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true
int $id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @c...
setIsStandardField(bool $is_standard_field)
static returnDbTableName()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...