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