mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Added some basic part edit and create forms.
This commit is contained in:
parent
44c482caf2
commit
cc1badb853
15 changed files with 253 additions and 95 deletions
|
@ -122,9 +122,9 @@ abstract class StructuralDBElement extends AttachmentContainingDBElement
|
|||
/**
|
||||
* @brief Get the parent-ID
|
||||
*
|
||||
* @retval integer @li the ID of the parent element
|
||||
* @li NULL means, the parent is the root node
|
||||
* @li the parent ID of the root node is -1
|
||||
* @retval integer * the ID of the parent element
|
||||
* * NULL means, the parent is the root node
|
||||
* * the parent ID of the root node is -1
|
||||
*/
|
||||
public function getParentID() : int
|
||||
{
|
||||
|
@ -235,8 +235,8 @@ abstract class StructuralDBElement extends AttachmentContainingDBElement
|
|||
/**
|
||||
* Change the parent ID of this element
|
||||
*
|
||||
* @param integer|null $new_parent_id @li the ID of the new parent element
|
||||
* @li NULL if the parent should be the root node
|
||||
* @param integer|null $new_parent_id * the ID of the new parent element
|
||||
* * NULL if the parent should be the root node
|
||||
*/
|
||||
public function setParentID($new_parent_id) : self
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue