Пример #1
0
 /**
  * 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');
 }
Пример #2
0
 /**
  * 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');
 }