return $result;
}
- /** This function will take NVPString and convert it to an Associative Array and it will decode the response.
+ /**
+ * This function will take NVPString and convert it to an Associative Array and it will decode the response.
* It is usefull to search for a particular key and displaying arrays.
* @nvpstr is NVPString.
* @nvpArray is Associative Array.
}
}
- /** * This function updates all price field value for quick config
+ /**
+ * This function updates all price field value for quick config
* price set which has membership type
*
* @param int $membershipTypeId membership type id
break;
case CRM_Utils_Type::T_DATE:
- $value = CRM_Utils_Type::escape($value, "Date", false);
+ $value = CRM_Utils_Type::escape($value, "Date", FALSE);
if (!$value)
return civicrm_api3_create_error("Param '$field' is not a date. format YYYYMMDD or YYYYMMDDHHMMSS");
break;
* {@getfields line_item_create}
*/
function civicrm_api3_line_item_create($params) {
- $params = CRM_Contribute_BAO_Contribution::checkTaxAmount($params, True);
+ $params = CRM_Contribute_BAO_Contribution::checkTaxAmount($params, TRUE);
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
*/
protected $deletableTestObjects;
- /** This test case doesn't require DB reset */
+ /**
+ * This test case doesn't require DB reset.
+ */
public $DBResetRequired = FALSE;
protected $_entity;
- /** Map custom group entities to civicrm components */
+ /**
+ * Map custom group entities to civicrm components.
+ */
static $componentMap = array(
'Contribution' => 'CiviContribute',
'Membership' => 'CiviMember',
return $knownFailures[$entity][$key];
}
- /** testing the _get **/
+ /* ----- testing the _get ----- */
/**
* @dataProvider toBeSkipped_get
- entities that don't need a get action
+ * Entities that don't need a get action
* @param $Entity
*/
public function testNotImplemented_get($Entity) {
$baoObj->free();
}
- /** testing the _getFields **/
+ /* ---- testing the _getFields ---- */
- /** testing the _delete **/
+ /* ---- testing the _delete ---- */
/**
* @dataProvider toBeSkipped_delete