CoreApi: add a note for getConstants, still TBD

This commit is contained in:
Thomas Gelf 2015-11-09 18:30:53 +01:00
parent 3a9580e4ca
commit b5ba2b7da9
1 changed files with 5 additions and 0 deletions

View File

@ -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) public function hasModule($moduleName)
{ {
$modules = $this->getModules(); $modules = $this->getModules();