/** * Returns the number of CardID-changes * Enter description here ... * @param numeric_string $ID * @return numeric value of changed_cardID for the given object * @throws Exception if something has gone wrong */ function getCardIDChanges($ID) { $card = parent::getEntryData($ID); if (isset($card['changed_cardID'])) { return $card['changed_cardID']; } else { throw new Exception('could not get the value changed_cardID'); } }
function firstPassword($ID) { $user_data = parent::getEntryData($ID, 'first_passwd'); return $user_data['first_passwd']; }
/** * Returns the max_credit for the given group * @param $ID the ID of the group * @return float the max_credit */ function getMaxCredit($ID) { $group = parent::getEntryData($ID, 'max_credit'); return $group['max_credit']; }