*
* @param bool $changeClient
*
- * @return integer|NULL
+ * @return int|NULL
* @static
*/
static function mergeCases(
/**
* Return proportional height and width of the image
*
- * @param Integer $imageWidth
+ * @param int $imageWidth
* Width of image.
*
- * @param Integer $imageHeight
+ * @param int $imageHeight
* Height of image.
*
* @return Array
/**
* Functions below generally don't need to be modified
- * @return integer
+ * @return int
*/
public function count() {
$sql = $this->all();
* @param string $entityTable
* Entity table to be searched.
*
- * @return integer
+ * @return int
* $dao->id discount id of the set which matches
* the date criteria
*/
/*
* Get ID of billing location type
- * @return integer
+ * @return int
*/
/**
* @return mixed|null
/**
* Retrieve contact id of the logged in user
- * @return integer|NULL
+ * @return int|NULL
* contact ID of logged in user
*/
public static function getLoggedInContactID() {
* @param string $accountTypeCode
* account type code
*
- * @return integer
+ * @return int
* count
* @static
*/
* @param $undefined
* The value to use if no default is defined.
*
- * @return integer
+ * @return int
* The ID of the default mailing component.
* @static
*/
* @param bool|int $isTest if true, membership is for a test site
* @param bool|int $isOwner if true, only retrieve membership records for owners //LCD
*
- * @return integer
+ * @return int
* the number of members of type $membershipTypeId whose
* start_date is between $startDate and $endDate
*/
* Date on which to end counting.
* @param bool|int $isTest if true, membership is for a test site
*
- * @return integer
+ * @return int
* returns the number of members of type $membershipTypeId
* whose join_date is before $startDate and
* whose start_date is between $startDate and $endDate
* @param int $membershipId
* Membership id.
*
- * @return integer
+ * @return int
* contribution id
*/
public static function getMembershipContributionId($membershipId) {
* @param null $isQuickConfig
* @param null $setName
*
- * @return integer|false
+ * @return int|false
* price_set_id, or false if none found
*/
public static function getFor($entityTable, $entityId, $usedFor = NULL, $isQuickConfig = NULL, &$setName = NULL) {
* array may contain either option id or
* price field id
*
- * @return integer|NULL
+ * @return int|NULL
* price set id on success, null otherwise
* @static
*/
* @param null $isQuickConfig
* @param null $setName
*
- * @return integer|false
+ * @return int|false
* price_set_id, or false if none found
*/
public static function getFor($entityTable, $entityId, $usedFor = NULL, $isQuickConfig = NULL, &$setName = NULL) {
/*
* Change user name in host CMS
*
- * @param integer $ufID User ID in CMS
+ * @param int $ufID User ID in CMS
* @param string $ufName User name
*/
/**
/*
* Change user name in host CMS
*
- * @param integer $ufID User ID in CMS
+ * @param int $ufID User ID in CMS
* @param string $ufName User name
*/
/**
* @param string $weightField
* Field which used to get the wt, default to 'weight'.
*
- * @return integer
+ * @return int
*/
public static function getNewWeight($daoName, $fieldValues = NULL, $weightField = 'weight') {
$selectField = "id AS fieldID, $weightField AS weight";
* Field which contains the weight value,.
* defaults to 'weight'
*
- * @return integer
+ * @return int
*/
public static function getMax($daoName, $fieldValues = NULL, $weightField = 'weight') {
$selectField = "MAX(ROUND($weightField)) AS max_weight";
* Field which contains the weight value,.
* defaults to 'weight'
*
- * @return integer
+ * @return int
*/
public static function getDefaultWeight($daoName, $fieldValues = NULL, $weightField = 'weight') {
$maxWeight = CRM_Utils_Weight::getMax($daoName, $fieldValues, $weightField);
}
/**
- * @param integer $id
+ * @param int $id
* @throws \CiviCRM_API3_Exception
*/
public function getById($id) {
* Api request as an array. Keys are.
*
* @throws API_Exception
- * @return integer
+ * @return int
* count of results
*/
function civicrm_api3_generic_getcount($apiRequest) {
* @param array $apiRequest
* Api request as an array. Keys are.
*
- * @return integer
+ * @return int
* count of results
*/
function civicrm_api3_generic_getsingle($apiRequest) {
* @param array $apiRequest
* Api request as an array. Keys are.
*
- * @return integer
+ * @return int
* count of results
*/
function civicrm_api3_generic_getvalue($apiRequest) {
* @param array $apiRequest
* Api request as an array. Keys are.
*
- * @return integer
+ * @return int
* count of results
*/
function civicrm_api3_generic_replace($apiRequest) {
*
* @param int $profileID
*
- * @return integer|string
+ * @return int|string
* @throws CiviCRM_API3_Exception
*/
function _civicrm_api3_profile_getProfileID($profileID) {