public function getEventPhotos($eventId, $page = 1)
    {
        if (is_null($eventId) || $eventId == '') {
            throw new Exception('The eventId is required to get the list of photos in the event.');
        }

        $params = array(
            'method' => 'sp.event.get_photos',
            'event_id' => $eventId,
            'page' => $page
        );

        return $this->_makeApiRequest($params);
    }
public function getEventPhotos($eventId, $page = 1)
    {
        if (is_null($eventId) || $eventId == '') {
            throw new Exception('The eventId is required to get the list of photos in the event.');
        }

        $params = array(
            'method' => 'sp.event.get_photos',
            'event_id' => $eventId,
            'page' => $page
        );

        return $this->_makeApiRequest($params);
    }
public function getEventPhotos ( $ eventId , $ page = 1 ) { if ( is_null ( $ eventId ) || $ eventId == '' ) { throw new Exception ( 'The eventId is required to get the list of photos in the event.' ) ; } $ params = array ( 'method' => 'sp.event.get_photos' , 'event_id' => $ eventId , 'page' => $ page ) ; return $ this -> _makeApiRequest ( $ params ) ; }
Method to get the photos for an event

@param integer $eventId
@param integer $page
@return array
Method to get the photos for an event