本文整理汇总了PHP中CRM_Case_BAO_Case::getValues方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Case_BAO_Case::getValues方法的具体用法?PHP CRM_Case_BAO_Case::getValues怎么用?PHP CRM_Case_BAO_Case::getValues使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CRM_Case_BAO_Case
的用法示例。
在下文中一共展示了CRM_Case_BAO_Case::getValues方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: retrieve
/**
* Takes a bunch of params that are needed to match certain criteria and
* retrieves the relevant objects. We'll tweak this function to be more
* full featured over a period 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 name / value pairs
* in a hierarchical manner
* @param array $ids (reference) the array that holds all the db ids
*
* @return object CRM_Case_BAO_Case object
* @access public
* @static
*/
static function retrieve(&$params, &$defaults, &$ids)
{
$case = CRM_Case_BAO_Case::getValues($params, $defaults, $ids);
return $case;
}