From 8579a9e568826b28987468db74fb979beb3fe03a Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 24 Feb 2009 10:54:18 -0500 Subject: [PATCH] Better method names --- .../Service_Facebook/lib/Horde/Service/Facebook/Events.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/Service_Facebook/lib/Horde/Service/Facebook/Events.php b/framework/Service_Facebook/lib/Horde/Service/Facebook/Events.php index e242ee60f..d9d6ec261 100644 --- a/framework/Service_Facebook/lib/Horde/Service/Facebook/Events.php +++ b/framework/Service_Facebook/lib/Horde/Service/Facebook/Events.php @@ -32,7 +32,7 @@ * * @return array The events matching the query. */ - public function &events_get($uid = null, $eids = null, $start_time = null, + public function &get($uid = null, $eids = null, $start_time = null, $end_time = null, $rsvp_status = null) { // Note we return a reference to support batched calls @@ -54,7 +54,7 @@ * @return array An assoc array of four membership lists, with keys * 'attending', 'unsure', 'declined', and 'not_replied' */ - public function &events_getMembers($eid) + public function &getMembers($eid) { return $this->_facebook->call_method('facebook.events.getMembers', array('eid' => $eid, @@ -69,7 +69,7 @@ * * @return bool true if successful */ - public function &events_rsvp($eid, $rsvp_status) + public function &rsvp($eid, $rsvp_status) { return $this->_facebook->call_method('facebook.events.rsvp', array('eid' => $eid, @@ -87,7 +87,7 @@ * * @return bool true if successful */ - public function &events_cancel($eid, $cancel_message = '') + public function &cancel($eid, $cancel_message = '') { return $this->_facebook->call_method('facebook.events.cancel', array('eid' => $eid, @@ -103,7 +103,7 @@ * * @return int event id */ - public function &events_create($event_info) + public function &create($event_info) { return $this->_facebook->call_method('facebook.events.create', array('event_info' => $event_info, @@ -118,7 +118,7 @@ * * @return bool true if successful */ - public function &events_edit($eid, $event_info) + public function &edit($eid, $event_info) { return $this->_facebook->call_method('facebook.events.edit', array('eid' => $eid, -- 2.11.0