protected function getActiveWorkspaceId() { return (int) (TRUE === isset($GLOBALS['BE_USER']->workspace) ? $GLOBALS['BE_USER']->workspace : 0); }