/** * Get the name ordering rules. * * Returns a key => value array, e.g. * en => English Convention: Smith, John * Suitable for use in pull-down lists. * * @return array */ public static function getNameOrderRules() { return Keyvalue::getKeyValuesByType('name-order'); }
/** * Get all of the address statuses (categories). * * Returns a key => value array, e.g. * current => Current * Suitable for use in pull-down lists. * * @return array */ public static function getStatuses() { return Keyvalue::getKeyValuesByType('address-statuses'); }