getIdentifier()) + 1; $want = array(); foreach (Module::getAll() as $module) { $cat = $module->getCategory(); if (is_string($cat)) { $want[substr($cat, $skip)] = true; } } return $want; };