[TASK] Introduced getters for $GLOBALS in ext:func