/** * 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; }
/** * 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); }
/** * 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); }
/** * 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; }
/** * 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); }
/** * 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); }