Eventbrite Event Set

Figure 1. Instantiate Event Set
//user type
$event = eden('eventbrite')->event($_SESSION['ebtoken'])->set();
//personal type
$event = eden('eventbrite')->event('[USER_KEY]', '[APP_SECRET]')->set();
Figure 2. Set Methods
Method Arguments Returns Description
$event->isPrivate(); none Eden_Eventbrite_Event_Set Set event to private
$event->isPublic(); none Eden_Eventbrite_Event_Set Set the event to public
$event->send(); none Eden_Eventbrite_Event_Set Sends event off to be created or updated
$event->setBackground($color);
  1. string
Eden_Eventbrite_Event_Set Set the background color
$event->setBorderColor($color);
  1. string
Eden_Eventbrite_Event_Set Sets the border color
$event->setBoxBackground($color);
  1. string
Eden_Eventbrite_Event_Set Set the box background color
$event->setBoxColor($color);
  1. string
Eden_Eventbrite_Event_Set Sets the box color
$event->setCapacity($capacity);
  1. int
Eden_Eventbrite_Event_Set Set the event capacity
$event->setCurrency($currency);
  1. string
Eden_Eventbrite_Event_Set Sets currency
$event->setDescription($description);
  1. string
Eden_Eventbrite_Event_Set Set the description
$event->setDraft(); none Eden_Eventbrite_Event_Set Sets status to draft
$event->setEnd($end);
  1. string|int
Eden_Eventbrite_Event_Set Set the end time
$event->setFooter($html);
  1. string
Eden_Eventbrite_Event_Set Set the footer HTML
$event->setHeader($html);
  1. string
Eden_Eventbrite_Event_Set Set the header HTML
$event->setHeaderBackground($color);
  1. string
Eden_Eventbrite_Event_Set Sets the header background color
$event->setHeaderColor($color);
  1. string
Eden_Eventbrite_Event_Set Sets color to Hexdecimal
$event->setId($id);
  1. int
Eden_Eventbrite_Event_Set Set the event ID. Set this if you want to perform an update instead of an insert
$event->setLinkColor($color);
  1. string
Eden_Eventbrite_Event_Set Set the link color
$event->setLive(); none Eden_Eventbrite_Event_Set Sets status to live
$event->setOrganizer($organizer);
  1. int
Eden_Eventbrite_Event_Set Set the organizer ID
$event->setStart($start);
  1. int|string
Eden_Eventbrite_Event_Set Set the start time
$event->setTextColor($color);
  1. string
Eden_Eventbrite_Event_Set Set the text color
$event->setTimezone($zone);
  1. string
Eden_Eventbrite_Event_Set Set the timezone in GMT format ie. GMT+01
$event->setTitle($title);
  1. string
Eden_Eventbrite_Event_Set Set the title
$event->setTitleColor($color);
  1. string
Eden_Eventbrite_Event_Set Set the title color
$event->setUrl($url);
  1. string
Eden_Eventbrite_Event_Set Set event URL
$event->setVenue($venue);
  1. int
Eden_Eventbrite_Event_Set

© 2012 Openovate Labs. All rights reserved.