// create price fields
$fields = array(
- 'Full Conference' => array('type' => 'Text',
+ 'Full Conference' => array(
+ 'type' => 'Text',
'amount' => '525.00',
'max_count' => 2,
'is_required' => TRUE,
'Meal Choice' => array(
'type' => 'Select',
'options' => array(
- 1 => array('label' => 'Chicken',
+ 1 => array(
+ 'label' => 'Chicken',
'amount' => '525.00',
'max_count' => 1,
'financial_type_id' => 1,
'Pre-conference Meetup?' => array(
'type' => 'Radio',
'options' => array(
- 1 => array('label' => 'Yes',
+ 1 => array(
+ 'label' => 'Yes',
'amount' => '50.00',
'max_count' => 1,
'financial_type_id' => 1,
'Evening Sessions' => array(
'type' => 'CheckBox',
'options' => array(
- 1 => array('label' => 'First Five',
+ 1 => array(
+ 'label' => 'First Five',
'amount' => '100.00',
'max_count' => 2,
'financial_type_id' => 1,
// create price fields
$fields = array(
- 'Full Conference' => array('type' => 'Text',
+ 'Full Conference' => array(
+ 'type' => 'Text',
'amount' => '525.00',
'max_count' => 4,
'count' => 2,
'Meal Choice' => array(
'type' => 'Select',
'options' => array(
- 1 => array('label' => 'Chicken',
+ 1 => array(
+ 'label' => 'Chicken',
'amount' => '525.00',
'max_count' => 2,
'count' => 2,
'Pre-conference Meetup?' => array(
'type' => 'Radio',
'options' => array(
- 1 => array('label' => 'Yes',
+ 1 => array(
+ 'label' => 'Yes',
'amount' => '50.00',
'max_count' => 2,
'count' => 1,
'Evening Sessions' => array(
'type' => 'CheckBox',
'options' => array(
- 1 => array('label' => 'First Five',
+ 1 => array(
+ 'label' => 'First Five',
'amount' => '100.00',
'max_count' => 4,
'count' => 2,
// create price fields
$fields = array(
- 'Full Conference' => array('type' => 'Text',
+ 'Full Conference' => array(
+ 'type' => 'Text',
'amount' => '525.00',
'max_count' => 6,
'is_required' => TRUE,
'Meal Choice' => array(
'type' => 'Select',
'options' => array(
- 1 => array('label' => 'Chicken',
+ 1 => array(
+ 'label' => 'Chicken',
'amount' => '525.00',
'max_count' => 3,
'financial_type_id' => 1,
'Pre-conference Meetup?' => array(
'type' => 'Radio',
'options' => array(
- 1 => array('label' => 'Yes',
+ 1 => array(
+ 'label' => 'Yes',
'amount' => '50.00',
'max_count' => 4,
'financial_type_id' => 1,
'Evening Sessions' => array(
'type' => 'CheckBox',
'options' => array(
- 1 => array('label' => 'First Five',
+ 1 => array(
+ 'label' => 'First Five',
'amount' => '100.00',
'max_count' => 6,
'financial_type_id' => 1,
// create price fields
$fields = array(
- 'Full Conference' => array('type' => 'Text',
+ 'Full Conference' => array(
+ 'type' => 'Text',
'amount' => '525.00',
'count' => 2,
'max_count' => 12,
'Meal Choice' => array(
'type' => 'Select',
'options' => array(
- 1 => array('label' => 'Chicken',
+ 1 => array(
+ 'label' => 'Chicken',
'amount' => '525.00',
'count' => 1,
'max_count' => 3,
'Pre-conference Meetup?' => array(
'type' => 'Radio',
'options' => array(
- 1 => array('label' => 'Yes',
+ 1 => array(
+ 'label' => 'Yes',
'amount' => '50.00',
'count' => 2,
'max_count' => 8,
'Evening Sessions' => array(
'type' => 'CheckBox',
'options' => array(
- 1 => array('label' => 'First Five',
+ 1 => array(
+ 'label' => 'First Five',
'amount' => '100.00',
'count' => 2,
'max_count' => 16,
}
if (!empty($oValue['financial_type_id'])) {
- $this->select( "option_financial_type_id_{$oIndex}", "value={$oValue['financial_type_id']}" );
+ $this->select("option_financial_type_id_{$oIndex}", "value={$oValue['financial_type_id']}");
}
$this->click('link=another choice');