diff --git a/library/Director/Core/CoreApi.php b/library/Director/Core/CoreApi.php index 882b4abb..1d138031 100644 --- a/library/Director/Core/CoreApi.php +++ b/library/Director/Core/CoreApi.php @@ -118,6 +118,11 @@ class CoreApi ); } + public function getConstants() + { + // TODO: var results = []; for (k => v in globals) { if (typeof(v) in [String, Number, Boolean]) { results.add(k) } }; results + } + public function hasModule($moduleName) { $modules = $this->getModules();