public static function getImportTypes() { if (!self::$datatypes) { self::$datatypes = array("anything" => _IMPORTANYTHING, "users" => _USERS, "users_to_courses" => _USERSTOCOURSES, "users_to_lessons" => _USERSTOLESSONS); if (G_VERSIONTYPE != 'community') { #cpp#ifndef COMMUNITY self::$datatypes["users_to_groups"] = _USERSTOGROUPS; } #cpp#endif if (G_VERSIONTYPE == 'enterprise') { #cpp#ifdef ENTERPRISE self::$datatypes["branches"] = _BRANCHES; self::$datatypes["job_descriptions"] = _JOBDESCRIPTIONS; self::$datatypes["skills"] = _SKILLS; self::$datatypes["users_to_jobs"] = _USERSTOJOBS; self::$datatypes["users_to_skills"] = _USERSTOSKILLS; } #cpp#endif } return self::$datatypes; }