Definition at line 20 of file RegistrationTypeDAO.inc.php.
& RegistrationTypeDAO._returnRegistrationTypeFromRow | ( | &$ | row | ) |
Internal function to return a RegistrationType object from a row.
$row | array |
Definition at line 229 of file RegistrationTypeDAO.inc.php.
Referenced by getRegistrationType(), and getRegistrationTypesBySchedConfId().
RegistrationTypeDAO.checkCode | ( | $ | typeId, | |
$ | schedConfId, | |||
$ | code | |||
) |
Check if a registration type exists with the given type id and fee code for a scheduled conference.
$typeId | int | |
$schedConfId | int | |
$code | string |
Definition at line 203 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.deleteRegistrationOptionCosts | ( | $ | typeId | ) |
Delete registration options for a type.
$typeId | int |
Definition at line 481 of file RegistrationTypeDAO.inc.php.
Referenced by deleteRegistrationTypeById().
RegistrationTypeDAO.deleteRegistrationType | ( | &$ | registrationType | ) |
Delete a registration type.
$registrationType | RegistrationType |
Definition at line 351 of file RegistrationTypeDAO.inc.php.
References deleteRegistrationTypeById().
Referenced by deleteRegistrationTypesBySchedConf().
RegistrationTypeDAO.deleteRegistrationTypeById | ( | $ | typeId | ) |
Delete a registration type by ID. Note that all registrations with this type ID are also deleted.
$typeId | int |
Definition at line 361 of file RegistrationTypeDAO.inc.php.
References deleteRegistrationOptionCosts().
Referenced by deleteRegistrationType().
RegistrationTypeDAO.getInsertRegistrationTypeId | ( | ) |
Get the ID of the last inserted registration type.
Definition at line 403 of file RegistrationTypeDAO.inc.php.
Referenced by insertRegistrationType().
RegistrationTypeDAO.getLocaleFieldNames | ( | ) |
Get the list of field names for which localized data is used.
Definition at line 256 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.getRegistrationOptionCosts | ( | $ | typeId | ) |
Get cost information for a registration type.
$typeId | int |
Definition at line 459 of file RegistrationTypeDAO.inc.php.
& RegistrationTypeDAO.getRegistrationType | ( | $ | typeId, | |
$ | code = null | |||
) |
Retrieve a registration type by ID.
$typeId | int | |
$code | string Optional registration code "password" |
Definition at line 27 of file RegistrationTypeDAO.inc.php.
References _returnRegistrationTypeFromRow().
RegistrationTypeDAO.getRegistrationTypeInstitutional | ( | $ | typeId | ) |
Retrieve institutional flag by ID.
$typeId | int |
Definition at line 92 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.getRegistrationTypeMembership | ( | $ | typeId | ) |
Retrieve membership flag by ID.
$typeId | int |
Definition at line 110 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.getRegistrationTypeName | ( | $ | typeId | ) |
Retrieve registration type name by ID.
$typeId | int |
Definition at line 70 of file RegistrationTypeDAO.inc.php.
References AppLocale.getLocale(), and AppLocale.getPrimaryLocale().
RegistrationTypeDAO.getRegistrationTypePublic | ( | $ | typeId | ) |
Retrieve public flag by ID.
$typeId | int |
Definition at line 128 of file RegistrationTypeDAO.inc.php.
& RegistrationTypeDAO.getRegistrationTypesBySchedConfId | ( | $ | schedConfId, | |
$ | rangeInfo = null | |||
) |
Retrieve an array of registration types matching a particular scheduled conference ID.
$schedConfId | int |
Definition at line 389 of file RegistrationTypeDAO.inc.php.
References _returnRegistrationTypeFromRow().
Referenced by deleteRegistrationTypesBySchedConf().
RegistrationTypeDAO.getRegistrationTypeSchedConfId | ( | $ | typeId | ) |
Retrieve registration type scheduled conference ID by ID.
$typeId | int |
Definition at line 52 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.insertRegistrationOptionCost | ( | $ | typeId, | |
$ | optionId, | |||
$ | cost | |||
) |
Insert pricing for a registration type for a registration option.
$typeId | int | |
$optionId | int | |
$cost | number |
Definition at line 440 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.insertRegistrationType | ( | &$ | registrationType | ) |
Insert a new RegistrationType.
$registrationType | RegistrationType |
Definition at line 275 of file RegistrationTypeDAO.inc.php.
References getInsertRegistrationTypeId(), and updateLocaleFields().
RegistrationTypeDAO.openRegistrationTypeExistsByTypeId | ( | $ | typeId, | |
$ | schedConfId | |||
) |
Check if an open registration type exists with the given type id for a scheduled conference.
$typeId | int | |
$schedConfId | int |
Definition at line 172 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.registrationTypeExistsByTypeId | ( | $ | typeId, | |
$ | schedConfId | |||
) |
Check if a registration type exists with the given type id for a scheduled conference.
$typeId | int | |
$schedConfId | int |
Definition at line 147 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.resequenceRegistrationTypes | ( | $ | schedConfId | ) |
Sequentially renumber registration types in their sequence order.
Definition at line 410 of file RegistrationTypeDAO.inc.php.
RegistrationTypeDAO.updateLocaleFields | ( | &$ | registrationType | ) |
Update the localized settings for this object
$registrationType | object |
Definition at line 264 of file RegistrationTypeDAO.inc.php.
Referenced by insertRegistrationType(), and updateRegistrationType().
RegistrationTypeDAO.updateRegistrationType | ( | &$ | registrationType | ) |
Update an existing registration type.
$registrationType | RegistrationType |
Definition at line 308 of file RegistrationTypeDAO.inc.php.
References updateLocaleFields().