* of time. This is the inverse function of create. It also stores all the retrieved
* values in the default array
*
- * @param array $params (reference ) an assoc array of name/value pairs
- * @param array $defaults (reference ) an assoc array to hold the flattened values
- * @param string $activityType activity type
+ * @param array $params (reference ) an assoc array of name/value pairs
+ * @param array $defaults (reference ) an assoc array to hold the flattened values
+ *
+ * @internal param string $activityType activity type
*
* @return object CRM_Core_BAO_Meeting object
* @access public
/**
* Function to process the activities
*
- * @param object $form form object
- * @param array $params associated array of the submitted values
- * @param array $ids array of ids
- * @param string $activityType activity Type
- * @param boolean $record true if it is Record Activity
+ * @param array $params associated array of the submitted values
+ *
+ * @internal param object $form form object
+ * @internal param array $ids array of ids
+ * @internal param string $activityType activity Type
+ * @internal param bool $record true if it is Record Activity
* @access public
*
- * @return
+ * @return $this|null|object
*/
public static function create(&$params) {
// check required params
/**
* Function to add activity for Membership/Event/Contribution
*
- * @param object $activity (reference) particular component object
- * @param string $activityType for Membership Signup or Renewal
+ * @param object $activity (reference) particular component object
+ * @param string $activityType for Membership Signup or Renewal
+ *
*
+ * @param null $targetContactID
*
+ * @return bool
* @static
* @access public
*/
}
$values[$rid]['action'] = CRM_Core_Action::formLink(
- $links,
- $mask,
+ $links,
+ $mask,
$replace,
ts('more'),
FALSE,
*
* Please provide one (and only one) of the four get/search parameters:
*
- * @param array(
- 'id' => if set, will get all available info about a case, including contacts and activities
+ * @param array (
+ * 'id' => if set, will get all available info about a case, including contacts and activities
*
* // if no case_id provided, this function will use one of the following search parameters:
* 'client_id' => finds all cases with a specific client
*
* {@getfields case_get}
*
- * @return (get mode, case_id provided): Array with case details, case roles, case activity ids, (search mode, case_id not provided): Array of cases found
- * @access public
+ * @return array (get mode, case_id provided): Array with case details, case roles, case activity ids, (search mode, case_id not provided): Array of cases found@access public
* @todo Erik Hommel 16 dec 2010 check if all DB fields are returned
*/
function civicrm_api3_case_get($params) {
- $options = _civicrm_api3_get_options_from_params($params);
//search by client
if (!empty($params['contact_id'])) {
* @param string $entity
* @param string $action
*
+ * @throws API_Exception
* @return array $options options extracted from params
*/
function _civicrm_api3_get_options_from_params(&$params, $queryObject = FALSE, $entity = '', $action = '') {
/**
* Converts an DAO object to an array
*
- * @param object $dao (reference )object to convert
+ * @param object $dao (reference )object to convert
* @param null $params
* @param bool $uniqueFields
* @param string $entity
*
+ * @param bool $autoFind
+ *
* @return array
*
* @params array of arrays (key = id) of array of fields
/**
* Function to do a 'standard' api create - when the api is only doing a $bao::create then use this
+ *
* @param string $bao_name Name of BAO Class
* @param array $params parameters passed into the api call
* @param string $entity Entity - pass in if entity is non-standard & required $ids array
+ *
+ * @throws API_Exception
* @return array
*/
function _civicrm_api3_basic_create($bao_name, &$params, $entity = NULL) {