本文整理汇总了PHP中CRM_Core_BAO_Block::getValues方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Core_BAO_Block::getValues方法的具体用法?PHP CRM_Core_BAO_Block::getValues怎么用?PHP CRM_Core_BAO_Block::getValues使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CRM_Core_BAO_Block
的用法示例。
在下文中一共展示了CRM_Core_BAO_Block::getValues方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
/**
* Given the list of params in the params array, fetch the object
* and store the values in the values array
*
* @param array entityBlock input parameters to find object
*
* @return array array of phone objects
* @access public
* @static
*/
static function &getValues($entityBlock)
{
$getValues = CRM_Core_BAO_Block::getValues('phone', $entityBlock);
return $getValues;
}
示例2:
/**
* Given the list of params in the params array, fetch the object
* and store the values in the values array
*
* @param array $entityBlock input parameters to find object
*
* @return bool
*/
public static function &getValues($entityBlock)
{
return CRM_Core_BAO_Block::getValues('im', $entityBlock);
}
示例3:
/**
* Given the list of params in the params array, fetch the object
* and store the values in the values array
*
* @param array $entityBlock input parameters to find object
*
* @return boolean
* @access public
* @static
*/
static function &getValues($entityBlock)
{
return CRM_Core_BAO_Block::getValues('email', $entityBlock);
}
示例4: CRM_Core_BAO_Phone
/**
* Given the list of params in the params array, fetch the object
* and store the values in the values array
*
* @param array $params input parameters to find object
* @param array $values output values of the object
* @param array $ids the array that holds all the db ids
* @param int $blockCount number of blocks to fetch
*
* @return array array of phone objects
* @access public
* @static
*/
function &getValues(&$params, &$values, &$ids, $blockCount = 0)
{
$phone =& new CRM_Core_BAO_Phone();
$getValues =& CRM_Core_BAO_Block::getValues($phone, 'phone', $params, $values, $ids, $blockCount);
foreach ($values['phone'] as $key => $array) {
CRM_Core_DAO_Phone::addDisplayEnums($values['phone'][$key]);
}
return $getValues;
}
示例5: CRM_Core_BAO_Email
/**
* Given the list of params in the params array, fetch the object
* and store the values in the values array
*
* @param array $params input parameters to find object
* @param array $values output values of the object
* @param array $ids the array that holds all the db ids
* @param int $blockCount number of blocks to fetch
*
* @return boolean
* @access public
* @static
*/
function &getValues(&$params, &$values, &$ids, $blockCount = 0)
{
$email =& new CRM_Core_BAO_Email();
return CRM_Core_BAO_Block::getValues($email, 'email', $params, $values, $ids, $blockCount);
}
示例6: CRM_Core_BAO_IM
/**
* Given the list of params in the params array, fetch the object
* and store the values in the values array
*
* @param array $params input parameters to find object
* @param array $values output values of the object
* @param array $ids the array that holds all the db ids
* @param int $blockCount number of blocks to fetch
*
* @return boolean
* @access public
* @static
*/
function &getValues(&$params, &$values, &$ids, $blockCount = 0)
{
$im =& new CRM_Core_BAO_IM();
return CRM_Core_BAO_Block::getValues($im, 'im', $params, $values, $ids, $blockCount);
}