コード例 #1
0
ファイル: Phone.php プロジェクト: prashantgajare/civicrm-core
 /**
  * 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
0
ファイル: IM.php プロジェクト: hyebahi/civicrm-core
 /**
  * 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
0
 /**
  * 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
0
ファイル: Phone.php プロジェクト: bhirsch/voipdrupal-4.7-1.0
 /**
  * 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
0
ファイル: Email.php プロジェクト: bhirsch/voipdrupal-4.7-1.0
 /**
  * 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
0
ファイル: IM.php プロジェクト: bhirsch/voipdrupal-4.7-1.0
 /**
  * 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);
 }