mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 12:18:54 +02:00
Added a basic dialog for editing/creating attachmentType elements.
This commit is contained in:
parent
4652339879
commit
3e7150735d
12 changed files with 568 additions and 146 deletions
|
@ -50,9 +50,11 @@ abstract class DBElement
|
|||
* Get the ID. The ID can be zero, or even negative (for virtual elements). If an elemenent is virtual, can be
|
||||
* checked with isVirtualElement().
|
||||
*
|
||||
* @return int the ID of this element
|
||||
* Returns null, if the element is not saved to the DB yet.
|
||||
*
|
||||
* @return int|null the ID of this element
|
||||
*/
|
||||
final public function getID(): int
|
||||
final public function getID(): ?int
|
||||
{
|
||||
return (int) $this->id;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue