Home Features Demos Download Installation User Manual Developer Manual Relation function Credits

Login

inc/functions/familyname.php

calc(name) creats the collation for the alphabetic ordering of names

The algorithm tries to order the name by the family name

  • Samir returns Samir: Single name
  • Petra Volpe returns Volpe Petra: Family name is the second word
  • Otto F. Walter returns Walter Otto F. middle names with one letter or a letter and a period are recognized.
  • Wolfgang von Goethe retuns von Goethe Wolfgang.

If the second word is a forename, like in Werner Swiss Schweizer, you need to create an exception.

The function witl look for the field familyname in the page Werner Swiss Schweizer. The field must be [[familyname::Schweizer Werner Swiss]]

function swGetFamilyName()

Wrapper for function class.

File structure inc folder inc/functions folder