Frontend | Backend | Api

Common\Models\Backend\Country

Country

Method Description Returns
getId() int
getAlpha2Code() string
getAlpha3Code() string
getNumericCode() int
getName() string
getRegion() string
getSubRegion() string
getStates() Collection (State)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool