<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
* @return bool
*/
static function delWeight($daoName, $fieldID, $fieldValues = NULL, $weightField = 'weight') {
- $object = new . $daoName();
+ $object = new $daoName();
$object->id = $fieldID;
if (!$object->find(TRUE)) {
return FALSE;
}
/**
- * Updates the weight fields of other rows according to the new and old weight paased in.
+ * Updates the weight fields of other rows according to the new and old weight passed in.
* And returns the new weight be used. If old-weight not present, Creates a gap for a new row to be inserted
* at the specified new weight
*
'url' => $returnURL,
'filter' => $filter,
);
-
+
$signer = new CRM_Utils_Signer(CRM_Core_Key::privateKey(), self::$SIGNABLE_FIELDS);
$queryParams['_sgn'] = $signer->sign($queryParams);
$baseURL = CRM_Utils_System::url('civicrm/admin/weight', $queryParams);