Countries
List of supported countries and working with their country codes.
Methods
Invoke via \Framework\I18N\Countries::method()
Click a method name to copy it.
Converts a 3 letter country id to an 2 letter country code
ISO 3166-1 alpha-3 to ISO 3166-1 alpha-2
Deletes a record from the database
Return
Returns true if record existed and was deleted, otherwise false
Return a set of records from the database
Gets a single field from a record
Returns a list of all states for a country
Returns the name of the country from a country code
Saves a record into the database
Saves a specific column of a row into a database
Return
Array of
Countries that match the search query.