RegistrationOptionDAO Class Reference

Operations for retrieving and modifying RegistrationOption objects. More...

List of all members.

Public Member Functions

_returnRegistrationOptionFromRow (&$row)
 checkCode ($optionId, $schedConfId, $code)
 deleteRegistrationOption (&$registrationOption)
 deleteRegistrationOptionAssocByOptionId ($optionId)
 deleteRegistrationOptionAssocByRegistrationId ($registrationId)
 deleteRegistrationOptionById ($optionId)
 deleteRegistrationOptionsBySchedConf ($schedConfId)
 getInsertRegistrationOptionId ()
 getLocaleFieldNames ()
getRegistrationOption ($optionId, $code=null)
 getRegistrationOptionName ($optionId)
getRegistrationOptions ($registrationId)
getRegistrationOptionsBySchedConfId ($schedConfId, $rangeInfo=null)
 getRegistrationOptionSchedConfId ($optionId)
 insertRegistrationOption (&$registrationOption)
 insertRegistrationOptionAssoc ($registrationId, $optionId)
 openRegistrationOptionExistsByOptionId ($optionId, $schedConfId)
 registrationOptionExistsByOptionId ($optionId, $schedConfId)
 resequenceRegistrationOptions ($schedConfId)
 updateLocaleFields (&$registrationOption)
 updateRegistrationOption (&$registrationOption)


Detailed Description

Operations for retrieving and modifying RegistrationOption objects.

See also:
RegistrationOption

Definition at line 20 of file RegistrationOptionDAO.inc.php.


Member Function Documentation

& RegistrationOptionDAO._returnRegistrationOptionFromRow ( &$  row  ) 

Internal function to return a RegistrationOption object from a row.

Parameters:
$row array
Returns:
RegistrationOption

Definition at line 175 of file RegistrationOptionDAO.inc.php.

Referenced by getRegistrationOption(), and getRegistrationOptionsBySchedConfId().

RegistrationOptionDAO.checkCode ( optionId,
schedConfId,
code 
)

Check if a registration option exists with the given option id and fee code for a scheduled conference.

Parameters:
$optionId int
$schedConfId int
$code string
Returns:
boolean

Definition at line 149 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.deleteRegistrationOption ( &$  registrationOption  ) 

Delete a registration option.

Parameters:
$registrationOption RegistrationOption
Returns:
boolean

Definition at line 271 of file RegistrationOptionDAO.inc.php.

References deleteRegistrationOptionById().

Referenced by deleteRegistrationOptionsBySchedConf().

RegistrationOptionDAO.deleteRegistrationOptionAssocByOptionId ( optionId  ) 

Delete registration / registration option associations by registration option ID.

Parameters:
$optionId int
Returns:
int

Definition at line 281 of file RegistrationOptionDAO.inc.php.

Referenced by deleteRegistrationOptionById().

RegistrationOptionDAO.deleteRegistrationOptionAssocByRegistrationId ( registrationId  ) 

Delete registration / registration option associations by registration ID.

Parameters:
$registrationId int
Returns:
int

Definition at line 291 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.deleteRegistrationOptionById ( optionId  ) 

Delete a registration option by ID. Note that all registrations with this option ID are also deleted.

Parameters:
$optionId int
Returns:
boolean

Definition at line 342 of file RegistrationOptionDAO.inc.php.

References deleteRegistrationOptionAssocByOptionId().

Referenced by deleteRegistrationOption().

RegistrationOptionDAO.getInsertRegistrationOptionId (  ) 

Get the ID of the last inserted registration option.

Returns:
int

Definition at line 382 of file RegistrationOptionDAO.inc.php.

Referenced by insertRegistrationOption().

RegistrationOptionDAO.getLocaleFieldNames (  ) 

Get the list of field names for which localized data is used.

Returns:
array

Definition at line 196 of file RegistrationOptionDAO.inc.php.

& RegistrationOptionDAO.getRegistrationOption ( optionId,
code = null 
)

Retrieve a registration option by ID.

Parameters:
$optionId int
$code string Optional registration code "password"
Returns:
RegistrationOption

Definition at line 27 of file RegistrationOptionDAO.inc.php.

References _returnRegistrationOptionFromRow().

RegistrationOptionDAO.getRegistrationOptionName ( optionId  ) 

Retrieve registration option name by ID.

Parameters:
$optionId int
Returns:
string

Definition at line 70 of file RegistrationOptionDAO.inc.php.

References AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

& RegistrationOptionDAO.getRegistrationOptions ( registrationId  ) 

Get registration option associations for a registration.

Parameters:
$registrationId int
Returns:
array $optionIds

Definition at line 318 of file RegistrationOptionDAO.inc.php.

& RegistrationOptionDAO.getRegistrationOptionsBySchedConfId ( schedConfId,
rangeInfo = null 
)

Retrieve an array of registration options matching a particular scheduled conference ID.

Parameters:
$schedConfId int
Returns:
object DAOResultFactory containing matching RegistrationOptions

Definition at line 368 of file RegistrationOptionDAO.inc.php.

References _returnRegistrationOptionFromRow().

Referenced by deleteRegistrationOptionsBySchedConf().

RegistrationOptionDAO.getRegistrationOptionSchedConfId ( optionId  ) 

Retrieve registration option scheduled conference ID by ID.

Parameters:
$optionId int
Returns:
int

Definition at line 52 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.insertRegistrationOption ( &$  registrationOption  ) 

Insert a new RegistrationOption.

Parameters:
$registrationOption RegistrationOption
Returns:
boolean

Definition at line 215 of file RegistrationOptionDAO.inc.php.

References getInsertRegistrationOptionId(), and updateLocaleFields().

RegistrationOptionDAO.insertRegistrationOptionAssoc ( registrationId,
optionId 
)

Add a registration option association for a registration.

Parameters:
$registrationId int
$optionId int
Returns:
boolean

Definition at line 301 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.openRegistrationOptionExistsByOptionId ( optionId,
schedConfId 
)

Check if an open registration option exists with the given option id for a scheduled conference.

Parameters:
$optionId int
$schedConfId int
Returns:
boolean

Definition at line 118 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.registrationOptionExistsByOptionId ( optionId,
schedConfId 
)

Check if a registration option exists with the given option id for a scheduled conference.

Parameters:
$optionId int
$schedConfId int
Returns:
boolean

Definition at line 93 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.resequenceRegistrationOptions ( schedConfId  ) 

Sequentially renumber registration options in their sequence order.

Definition at line 389 of file RegistrationOptionDAO.inc.php.

RegistrationOptionDAO.updateLocaleFields ( &$  registrationOption  ) 

Update the localized settings for this object

Parameters:
$registrationOption object

Definition at line 204 of file RegistrationOptionDAO.inc.php.

Referenced by insertRegistrationOption(), and updateRegistrationOption().

RegistrationOptionDAO.updateRegistrationOption ( &$  registrationOption  ) 

Update an existing registration option.

Parameters:
$registrationOption RegistrationOption
Returns:
boolean

Definition at line 241 of file RegistrationOptionDAO.inc.php.

References updateLocaleFields().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7