<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin {
/**
- * takes an associative array and creates a uf join object
+ * Takes an associative array and creates a uf join object
*
- * @param array $params (reference) an assoc array of name/value pairs
+ * @param array $params
+ * (reference) an assoc array of name/value pairs.
*
- * @return object CRM_Core_DAO_UFJoin object
- * @access public
+ * @return CRM_Core_DAO_UFJoin object
* @static
*/
public static function &create($params) {
return $dao;
}
+ /**
+ * @param array $params
+ */
public static function deleteAll(&$params) {
$module = CRM_Utils_Array::value('module', $params);
$entityTable = CRM_Utils_Array::value('entity_table', $params);
* Given an assoc list of params, find if there is a record
* for this set of params
*
- * @param array $params (reference) an assoc array of name/value pairs
+ * @param array $params
+ * (reference) an assoc array of name/value pairs.
*
* @return int or null
- * @access public
* @static
*/
public static function findJoinEntryId(&$params) {
* Given an assoc list of params, find if there is a record
* for this set of params and return the group id
*
- * @param array $params (reference) an assoc array of name/value pairs
+ * @param array $params
+ * (reference) an assoc array of name/value pairs.
*
* @return int or null
- * @access public
* @static
*/
public static function findUFGroupId(&$params) {
return NULL;
}
+ /**
+ * @param array $params
+ *
+ * @return array
+ */
public static function getUFGroupIds(&$params) {
$dao = new CRM_Core_DAO_UFJoin();
return array($first, $second, $firstActive, $secondActive);
}
}
-