<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
return $dao;
}
+ /**
+ * @param $params
+ */
public static function deleteAll(&$params) {
$module = CRM_Utils_Array::value('module', $params);
$entityTable = CRM_Utils_Array::value('entity_table', $params);
* @static
*/
public static function findJoinEntryId(&$params) {
- if (CRM_Utils_Array::value('id', $params)) {
+ if (!empty($params['id'])) {
return $params['id'];
}
return NULL;
}
+ /**
+ * @param $params
+ *
+ * @return array
+ */
public static function getUFGroupIds(&$params) {
$dao = new CRM_Core_DAO_UFJoin();