return implode(' AND ', $clauses);
}
- /**
+ /*
* Functions below generally don't need to be modified
- * @return int
+ */
+
+ /**
+ * @inheritDoc
*/
public function count() {
$sql = $this->all();
return implode(' AND ', $clauses);
}
- /**
+ /*
* Functions below generally don't need to be modified
*/
+
+ /**
+ * @inheritDoc
+ */
public function count() {
$sql = $this->all();
/*
* Functions below generally don't need to be modified
*/
+
+ /**
+ * @inheritDoc
+ */
public function count() {
$sql = $this->all();
/*
* Functions below generally don't need to be modified
*/
+
+ /**
+ * @inheritDoc
+ */
public function count() {
$sql = $this->all();
/*
* Functions below generally don't need to be modified
*/
+
/**
- * @return mixed
+ * @inheritDoc
*/
public function count() {
$sql = $this->all();
/*
* Functions below generally don't need to be modified
*/
+
/**
- * @return mixed
+ * @inheritDoc
*/
public function count() {
$sql = $this->all();
/**
* Get colunmn headers for search selector
*
- *
* @return array
*/
private static function &_getColumnHeaders() {
CRM_Core_DAO::executeQuery($query);
}
- // This method should initialize auth sources
+ /**
+ * This method should initialize auth sources
+ */
public function initAuthSrc() {
$session = CRM_Core_Session::singleton();
if ($session->get('userID') && !$session->get('authSrc')) {
* - View
* - Edit
*
- * @param null $key
+ * @param string|null $key
*
* @return array
*/
parent::preProcess();
}
- // manipulate the select function to query count functions
+ /**
+ * manipulate the select function to query count functions
+ */
public function select() {
$count_tables = array(
return $config->userSystem->logout();
}
- // this is a very drupal specific function for now
+ /**
+ * this is a very drupal specific function for now
+ */
public static function updateCategories() {
$config = CRM_Core_Config::singleton();
if ($config->userSystem->is_drupal) {
return array($participant, $contribution);
}
- // CRM-13964
+ /**
+ * CRM-13964
+ */
public function testAddPartialPayment() {
$feeAmt = 100;
$amtPaid = 60;
unset($this->abc);
}
- // test the toString function
+ /**
+ * test the toString function
+ */
public function testHello() {
$result = $this->abc;
$expected = 'hello';
$this->click("xpath=//div[@id='activity']/table/tbody//tr/td[2]/label[text()='Activity Status']/../label[text()='Completed']");
}
- // function to fill demographic search details
+ /**
+ * function to fill demographic search details
+ */
public function addDemographicSearchDetail() {
// fill birth date range
$this->select("birth_date_relative", "value=0");
$this->select("contribution_currency_type", "USD");
}
- // function to fill participant search details
+ /**
+ * function to fill participant search details
+ */
public function addParticipantSearchDetail() {
// fill event name
$this->select2("event_id", "Fall Fundraiser Dinner");
$self->assertTrue($self->isTextPresent("The tag '$tagName' has been saved."));
}
- // CRM-6586
+ /**
+ * CRM-6586
+ */
public function testContactSearchExport() {
$this->webtestLogin();
$this->isElementPresent("xpath=//div[@class='content other_amount-content']/input");
}
- // CRM-12510 Test copy contribution page
+ /**
+ * CRM-12510 Test copy contribution page
+ */
public function testContributionPageCopy() {
// open browser, login
$this->webtestLogin();
parent::setUp();
}
- // CRM-13964 and CRM-13965
+ /**
+ * CRM-13964 and CRM-13965
+ */
public function testParticipantParitalPaymentInitiation() {
// Log in using webtestLogin() method
$this->webtestLogin();
parent::setUp();
}
- // this functionality is broken hence skipping the test
+ /**
+ * this functionality is broken hence skipping the test
+ */
public function skiptestAuthenticatedMultipleEvent() {
// Log in using webtestLogin() method
$this->_checkContributionsandEventRegistration($value[0], $value[1], $events);
}
- // this functionality is broken hence skipping the test
+ /**
+ * this functionality is broken hence skipping the test
+ */
public function skiptestAnonymousMultipleEvent() {
// This is the path where our testing install resides.
// The rest of URL is defined in CiviSeleniumTestCase base class, in