+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
foreach (array($groupName, 'United States', 'Male') as $i => $label) {
$this->waitForElementPresent("//span[@id='crm_search_value_1_$i']/select/option[2]");
$this->assertSelectedLabel("//span[@id='crm_search_value_1_$i']/select", $label);
}
}
foreach (array($groupName, 'United States', 'Male') as $i => $label) {
$this->waitForElementPresent("//span[@id='crm_search_value_1_$i']/select/option[2]");
$this->assertSelectedLabel("//span[@id='crm_search_value_1_$i']/select", $label);
}
}
- function _searchBuilder($field, $fieldValue = NULL, $name = NULL, $op = '=', $count = NULL) {
+ public function _searchBuilder($field, $fieldValue = NULL, $name = NULL, $op = '=', $count = NULL) {
// search builder using contacts(not using contactType)
$this->openCiviPage("contact/search/builder", "reset=1");
$this->enterValues(1, 1, 'Contacts', $field, NULL, $op, "$fieldValue");
// search builder using contacts(not using contactType)
$this->openCiviPage("contact/search/builder", "reset=1");
$this->enterValues(1, 1, 'Contacts', $field, NULL, $op, "$fieldValue");
- function enterValues($set, $row, $entity, $field, $loc, $op, $value = '') {
+ public function enterValues($set, $row, $entity, $field, $loc, $op, $value = '') {
- function _advancedSearch($fieldValue = NULL, $name = NULL, $contactType = NULL, $count = NULL, $field) {
+ public function _advancedSearch($fieldValue = NULL, $name = NULL, $contactType = NULL, $count = NULL, $field) {
//advanced search by selecting the contactType
$this->openCiviPage("contact/search/advanced", "reset=1");
if (isset($contactType)) {
//advanced search by selecting the contactType
$this->openCiviPage("contact/search/advanced", "reset=1");
if (isset($contactType)) {
- function _createContact($contactType, $name, $email, $streetName = NULL, $postalCode = NULL) {
+ public function _createContact($contactType, $name, $email, $streetName = NULL, $postalCode = NULL) {
$this->openCiviPage('contact/add', array('reset' => 1, 'ct' => $contactType), '_qf_Contact_cancel');
if ($contactType == 'Individual') {
$this->openCiviPage('contact/add', array('reset' => 1, 'ct' => $contactType), '_qf_Contact_cancel');
if ($contactType == 'Individual') {