API > eden > eventbrite.php
View Source

class Eden_Eventbrite

Eventbrite API factory. This is a factory class with methods that will load up different Eventbrite classes. Eventbrite classes are organized as described on their developer site: discount, event, organizer, payment, ticket, user, venue. We also added a search class and set class with advanced options for searching and creating events.

Public Methods

public function auth($clientId, $appSecret, $redirect)

Returns Eventbrite Oauth

Arguments

  1. string client ID
  2. string app secret

Returns Eden_Eventbrite_Discount

public function discount($user, $api = NULL)

Returns Eventbrite Discount

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Discount

public function event($user, $api = NULL)

Returns Eventbrite Event

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Event

public function organizer($user, $api = NULL)

Returns Eventbrite Organizer

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Organizer

public function payment($user, $api = NULL)

Returns Eventbrite Payment

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Payment

public function search($user, $api = NULL)

Returns Eventbrite Search

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Venue

public function set($user, $api = NULL)

Returns Eventbrite Set

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Venue

public function ticket($user, $api = NULL)

Returns Eventbrite Ticket

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Ticket

public function user($user, $api = NULL)

Returns Eventbrite User

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_User

public function venue($user, $api = NULL)

Returns Eventbrite Venue

Arguments

  1. string
  2. string|null

Returns Eden_Eventbrite_Venue


© 2012 Openovate Labs. All rights reserved.