19 Commits

Author SHA1 Message Date
EmTeedee
6b7bff80de ${var} deprecated in favor of {$var}
See: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
2023-07-19 10:44:40 +02:00
Thomas Gelf
2ecca2aeba TemplateTree: sort by name
fixes #2691
2022-12-20 14:13:32 +01:00
Thomas Gelf
be8c1101f2 travis: use phpcs 3.5.2 2019-11-28 07:13:22 +01:00
Thomas Gelf
bd16756913 TemplateTree: new loop detection
fixes #1631
2019-02-13 21:43:37 +01:00
Markus Frosch
ce9a8e1b09 IcingaObject: Allow imports to be accessed during onStore() 2018-09-17 14:37:18 +02:00
Thomas Gelf
d7c92a29bd TemplateTree: do not remove parents matching the
...objects name from the tree

fixes #1602
2018-08-14 00:29:42 +02:00
Thomas Gelf
35815e0dad library: lot's of cleanup 2018-06-19 13:47:19 +02:00
Thomas Gelf
d5807495a0 TemplateTree: load inheritance for unstored...
...objects even if the given parent is not a template. This happens with fake
objects while managing overrides
2018-05-22 14:40:56 +02:00
Thomas Gelf
fc9425ee89 TemplateTree: only use 'unstored' logic when...
...imports have been modified

fixes #1088
2017-08-21 21:53:47 +02:00
Thomas Gelf
f00473777e TemplateTree: make sure we are ready, even when...
...our very first object is unstored
2017-08-21 20:58:58 +02:00
Thomas Gelf
089197d2c5 TemplateTree: fix resolving commands
They allow to inherit from non-templates and need special treatment

refs #1084
2017-08-21 15:47:21 +02:00
Thomas Gelf
7b2e13f9c1 DirectorObjectForm, TemplateTree: more fixes...
...related to inheritance and fields
2017-08-21 15:15:06 +02:00
Thomas Gelf
67c22a51eb TemplateTree: allow to fetch ancestors...
...for unstored objects
2017-08-21 14:48:08 +02:00
Thomas Gelf
8bc26ccb97 TemplateTree: do not fail on unstored object 2017-08-21 08:09:01 +02:00
Thomas Gelf
b2984ba79d TemplateTree: allow to resolve from within the...
...onStore() hook, when the object is ready but does not define itself as
being loaded from DB
2017-08-20 17:05:51 +02:00
Thomas Gelf
c51642a673 TemplateTree: also fetch command objects...
...when being used as parent
2017-08-18 16:41:45 +02:00
Thomas Gelf
241bad7d81 TemplateTree: allow lookup for single objects too 2017-08-12 11:07:34 +02:00
Thomas Gelf
1d683f972d TemplateTree: add possibility to resolve objects 2017-07-31 20:57:41 +02:00
Thomas Gelf
84b56da899 TemplateTree: independent new implementation 2017-07-14 13:21:42 +02:00