}
/**
- * Given a contact id and a field set, return the values from the db
- * for this contact
+ * Given a contact id and a field set, return the values from the db.
*
* @param int $cid
* @param array $fields
* @param bool $absolute
* Return urls in absolute form (useful when sending an email).
* @param null $additionalWhereClause
+ *
+ * @return null|array
*/
public static function getValues(
$cid, &$fields, &$values,
*
* @param array $params
* Form input params, default to $this->_params.
+ *
+ * @return string
*/
public function assignBillingName($params = array()) {
$name = '';
}
/**
- * This function sets the default values for the form in edit/view mode
- * the default values are retrieved from the database
+ * This function sets the default values for the form in edit/view mode.
*
* @param CRM_Core_Form $form
+ *
+ * @return array
*/
public static function setDefaultValues(&$form) {
$defaults = array();
/**
* This function sets the default values for price set.
*
- *
* @param int $participantID
* @param int $eventID
* @param bool $includeQtyZero
}
/**
- * Whitelist of possible values for the entity_table field
+ * White-list of possible values for the entity_table field.
+ *
* @return array
*/
- public static function mailingGroupEntityTables($context = NULL) {
+ public static function mailingGroupEntityTables() {
return array(
CRM_Contact_BAO_Group::getTableName() => 'Group',
CRM_Mailing_BAO_Mailing::getTableName() => 'Mailing',
*
* @param array $params
* Associative array of delivery event values.
+ *
+ * @return \CRM_Mailing_Event_BAO_Delivered
*/
public static function &create(&$params) {
$q = &CRM_Mailing_Event_BAO_Queue::verify($params['job_id'],
*
* @param int $queue_id
* The Queue Event ID of the recipient.
+ *
+ * @return bool
*/
public static function open($queue_id) {
// First make sure there's a matching queue event.
* @param object $query
* @param string $alias
* @param bool $return
+ *
+ * @return string
*/
public function getPermissionedFTQuery(&$query, $alias = NULL, $return = FALSE) {
if (!CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()) {
}
/**
- * This hook is called for bypass a few civicrm urls from IDS check
- * @param array $skip list of civicrm url;
+ * This hook is called for bypass a few civicrm urls from IDS check.
+ *
+ * @param array $skip list of civicrm urls
+ *
+ * @return mixed
*/
public static function idsException(&$skip) {
return self::singleton()->invoke(1, $skip, self::$_nullObject,
* @param string $geoProvider
* @param array $values
* @param SimpleXMLElement $xml
+ *
+ * @return mixed
*/
public static function geocoderFormat($geoProvider, &$values, $xml) {
return self::singleton()->invoke(3, $geoProvider, $values, $xml,