getRenderMode()) { if ($this->getAllowMembers()) { $this->_defaults['attendee'][] = array( 'mode' => 'choose', 'type' => AttendeeForm::TYPE_MEMBER, ); } else if ($this->getAllowNonMembers()) { $this->_defaults['attendee'][] = array( 'mode' => 'choose', 'type' => AttendeeForm::TYPE_NONMEMBER, ); } } return parent::init(); } }