<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
//click through to the Contribution edit screen
$contId = $this->urlArg('id', $this->getAttribute("xpath=//div[@class='view-content']//table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span/a[text()='Edit']@href"));
$this->clickAjaxLink("xpath=//div[@class='view-content']//table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span/a[text()='Edit']", "product_name_0");
-
+
$this->select('product_name_0', "label=$premiumName2 ( $sku2 )");
// Clicking save.
$this->clickAjaxLink("_qf_Contribution_upload", "xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[7][text()='$premiumName2']");
}
/**
- * @param $entityId
+ * @param int $entityId
* @param null $from
* @param null $to
* @param null $cost
}
/**
- * @param $contId
+ * @param int $contId
*
* @return null|string
*/function _getFinancialTrxnAmount($contId) {
}
/**
- * @param $contId
+ * @param int $contId
*
* @return null|string
*/function _getFinancialItemAmount($contId) {
}
/**
- * @param $contId
+ * @param int $contId
*
* @return null|string
*/function _getTotalContributedAmount($contId) {