| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @param array $params
* (reference) an assoc array of name/value pairs.
*
- * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem object
- * @static
+ * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem
*/
public static function create(&$params) {
//create mode only as we don't support editing line items
* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
- * @return CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem object
- * @static
+ * @return CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem
*/
public static function retrieve(&$params, &$defaults) {
$lineItem = new CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem();
* Given a participant id/contribution id,
* return contribution/fee line items
*
- * @param $entityId
- * Int participant/contribution id.
- * @param $entity
- * String participant/contribution.
+ * @param int $entityId
+ * participant/contribution id.
+ * @param string $entity
+ * participant/contribution.
*
* @param null $isQuick
*
- * @return array of line items
+ * @return array
+ * Array of line items
*/
public static function getLineItems($entityId, $entity = 'participant', $isQuick = NULL) {
$selectClause = $whereClause = $fromClause = NULL;
* to the price set used for particular event
* @param array $values
* Reference to the values array(.
- this is
+ * this is
* lineItem array)
*
* @return void
* @param int $entityTable
*
* @return bool
- * @static
*/
public static function deleteLineItems($entityId, $entityTable) {
$result = FALSE;
CRM_Core_DAO::executeQuery($query, $params);
}
+
}