当前位置: 首页>>代码示例>>PHP>>正文


PHP CRM_Core_BAO_Block::getValues方法代码示例

本文整理汇总了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;
 }
开发者ID:prashantgajare,项目名称:civicrm-core,代码行数:15,代码来源:Phone.php

示例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);
 }
开发者ID:hyebahi,项目名称:civicrm-core,代码行数:12,代码来源:IM.php

示例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);
 }
开发者ID:peteainsworth,项目名称:civicrm-4.2.9-drupal,代码行数:14,代码来源:Email.php

示例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;
 }
开发者ID:bhirsch,项目名称:voipdrupal-4.7-1.0,代码行数:22,代码来源:Phone.php

示例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);
 }
开发者ID:bhirsch,项目名称:voipdrupal-4.7-1.0,代码行数:18,代码来源:Email.php

示例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);
 }
开发者ID:bhirsch,项目名称:voipdrupal-4.7-1.0,代码行数:18,代码来源:IM.php


注:本文中的CRM_Core_BAO_Block::getValues方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。