* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
- * @return CRM_Event_BAO_ManageEvent object
+ * @return CRM_Event_BAO_ManageEvent
* @static
*/
public static function retrieve(&$params, &$defaults) {
* @param int $id
* For which we want map info.
*
- * @return null|string title of the event
+ * @return null|string
+ * title of the event
* @static
*/
public static function &getMapInfo(&$id) {
*
* @param int $id
* The event id to copy.
- * obj $newEvent object of CRM_Event_DAO_Event
* boolean $afterCreate call to copy after the create function
* @param null $newEvent
* @param bool $afterCreate
*
- * @return void
+ * @return CRM_Event_DAO_Event
*/
public static function copy($id, $newEvent = NULL, $afterCreate = FALSE) {
- $defaults = $eventValues = array();
+ $eventValues = array();
//get the require event values.
$eventParams = array('id' => $id);
* Event template id.
*
* @return array
- * of custom data defaults.
+ * Array of custom data defaults.
*/
public static function getTemplateDefaultValues($templateId) {
$defaults = array();