Does a locale exists by its name.
public static existsByName ( string $name, string $type, string $module, string $language, string $application, integer $id = null ) : boolean | ||
$name | string | The name of the locale. |
$type | string | The type of the locale. |
$module | string | The module wherein will be searched. |
$language | string | The language to use. |
$application | string | The application wherein will be searched. |
$id | integer | The id to exclude in the check. |
return | boolean |