getAccountCodes() getAccountCodes( $permfilter = false) : array Get a list of valid account codes from the database Parameters $permfilter Returns array — List of valid account codes.