|
@@ -48,8 +48,17 @@ trait SidebarTrait
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function getChild($id){
|
|
public function getChild($id){
|
|
|
|
|
+
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'proxmoxCloud',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $this,
|
|
|
|
|
+ 'Debug',
|
|
|
|
|
+ $id
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
if(!isset($this->children[$id])){
|
|
if(!isset($this->children[$id])){
|
|
|
- throw new \Exception(sprintf("Blubb %s does not exist", $id));
|
|
|
|
|
|
|
+ throw new \Exception(sprintf("Sidebar %s does not exist", $id));
|
|
|
}
|
|
}
|
|
|
return $this->children[$id];
|
|
return $this->children[$id];
|
|
|
}
|
|
}
|