<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
protected $_single = FALSE;
/**
- * build all the data structures needed to build the form
+ * Build all the data structures needed to build the form
*
* @return void
- * @access public
*/
- function preProcess() {
+ public function preProcess() {
$cid = CRM_Utils_Request::retrieve('cid', 'Positive',
$this, FALSE
);
}
/**
- * Build the form
+ * Build the form object
*
- * @access public
*
* @return void
*/
}
/**
- * process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated
*
- * @access public
*
* @return void
*/
public function postProcess() {}
- //end of function
/**
- * assign smarty variables to the template that will be used by google api to plot the contacts
+ * Assign smarty variables to the template that will be used by google api to plot the contacts
*
- * @param array $contactIds list of contact ids that we need to plot
- * @param int $locationId location_id
+ * @param $ids
+ * @param int $locationId location_id
+ * @param $page
+ * @param $addBreadCrumb
+ * @param string $type
*
* @return string the location of the file we have created
- * @access protected
*/
- static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') {
+ public static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') {
$config = CRM_Core_Config::singleton();
CRM_Utils_System::setTitle(ts('Map Location(s)'));
$page->assign_by_ref('span', $span);
}
}
-