Example #1
0
 public static function init()
 {
     User::$PROPERTIES = array(User::$AGE => array("Young", "Adult", "Old"), User::$GENDER => array("Male", "Female"), User::$MARITAL_STATUS => array("Single", "Married", "Divorced", "Widow"), User::$STUDIES => array("Primary", "Secondary", "University"), User::$LOCATION => array("Argentina", "Brazil"), User::$RELIGION => array("Catholic", "Musulman"));
     User::$FIRST_PROPERTY = User::$AGE;
     User::$PROPS_LABELS = array(User::$AGE => "Age", User::$GENDER => "Gender", User::$MARITAL_STATUS => "Marital status", User::$STUDIES => "Studies", User::$LOCATION => "Current country location", User::$RELIGION => "Religion");
 }