X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FBAO%2FLocation.php;h=092e86e08936ca1dd8e6600b640d118b22ea9b4e;hb=36f057c25d06a6372e9762c0931ff97a89144a4f;hp=792d93497f68ef3590e53d8fa2466f8e9e192e43;hpb=6643a63b47c9607cdc5f14a739cf7c7cfe55d726;p=civicrm-core.git diff --git a/CRM/Core/BAO/Location.php b/CRM/Core/BAO/Location.php index 792d93497f..092e86e089 100644 --- a/CRM/Core/BAO/Location.php +++ b/CRM/Core/BAO/Location.php @@ -46,10 +46,12 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO { /** * Function to create various elements of location block * - * @param array $params (reference ) an assoc array of name/value pairs - * @param boolean $fixAddress true if you need to fix (format) address values + * @param array $params (reference ) an assoc array of name/value pairs + * @param boolean $fixAddress true if you need to fix (format) address values * before inserting in db * + * @param null $entity + * * @return array $location * @access public * @static @@ -234,8 +236,11 @@ WHERE e.id = %1"; * 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 $entityBlock + * @param bool $microformat + * + * @internal param array $params input parameters to find object + * @internal param array $values output values of the object * * @return array array of objects(CRM_Core_BAO_Location) * @access public @@ -305,6 +310,12 @@ WHERE e.id = %1"; * @param int $updateLocBlockId update location block id * @return int newly created/updated location block id. */ + /** + * @param $locBlockId + * @param null $updateLocBlockId + * + * @return mixed + */ static function copyLocBlock($locBlockId, $updateLocBlockId = NULL) { //get the location info. $defaults = $updateValues = array();