You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
815 B

  1. You can configure some common name patterns for the inverse function
  2. in Settings > Configuration > General settings:
  3. * Lastname SecondLastname Firstname: For example 'Anderson Lavarge Robert'
  4. * Lastname SecondLastname, Firstname: For example 'Anderson Lavarge, Robert'
  5. * Firstname Lastname SecondLastname: For example 'Robert Anderson Lavarge'
  6. After applying the changes, you can recalculate all partners name clicking
  7. "Recalculate names" button. Note: This process could take so much time depending
  8. how many partners there are in database.
  9. You can use *_get_inverse_name* method to get firstname, lastname and
  10. second lastname from a simple string and also *_get_computed_name* to get a
  11. name form the firstname, lastname and second lastname.
  12. These methods can be overridden to change the format specified above.