mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 03:44:36 +02:00
Added an table to show all defined attachments.
This commit is contained in:
parent
2f0dc600e2
commit
f53cc08f52
8 changed files with 437 additions and 17 deletions
|
@ -80,7 +80,7 @@ class TreeBuilder
|
|||
* @param DBElement|null $selectedElement When a element is given here, its tree node will be marked as selected in
|
||||
* the resulting tree. When $selectedElement is not existing in the tree, then nothing happens.
|
||||
* @return TreeViewNode The Node for the given Element.
|
||||
* @throws \App\Exceptions\EntityNotSupported
|
||||
* @throws \App\Exceptions\EntityNotSupportedException
|
||||
*/
|
||||
public function elementToTreeNode(NamedDBElement $element, ?string $href_type = 'list_parts', DBElement $selectedElement = null) : TreeViewNode
|
||||
{
|
||||
|
@ -123,7 +123,7 @@ class TreeBuilder
|
|||
* @param DBElement|null $selectedElement When a element is given here, its tree node will be marked as selected in
|
||||
* the resulting tree. When $selectedElement is not existing in the tree, then nothing happens.
|
||||
* @return TreeViewNode[] Returns an array, containing all nodes. It is empty if the given class has no elements.
|
||||
* @throws \App\Exceptions\EntityNotSupported
|
||||
* @throws \App\Exceptions\EntityNotSupportedException
|
||||
*/
|
||||
public function typeToTree(string $class_name, ?string $href_type = 'list_parts', DBElement $selectedElement = null) : array
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue