public static function getEnumValues($modelName, $enumFieldName)
    {
        $schema = SolutionSchema::getModelSchema($modelName);
        $enum = $schema->getColumns()[$enumFieldName];
        return $enum->enumValues;
    }
public static function getEnumValues($modelName, $enumFieldName)
    {
        $schema = SolutionSchema::getModelSchema($modelName);
        $enum = $schema->getColumns()[$enumFieldName];
        return $enum->enumValues;
    }
public static function getEnumValues ( $ modelName , $ enumFieldName ) { $ schema = SolutionSchema :: getModelSchema ( $ modelName ) ; $ enum = $ schema -> getColumns ( ) [ $ enumFieldName ] ; return $ enum -> enumValues ; }
Finds the schema of the specified model and returns the values for the specified enum field

@param $modelName
@param $enumFieldName

@return array
Finds the schema of the specified model and returns the values for the specified enum field