mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-10 09:18:33 +01:00
Added some basic part edit and create forms.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user