Example #1
0
 /**
  * Create the presentation list from the resulting xml
  */
 public function __construct($xml)
 {
     $xml = simplexml_load_string($xml);
     parent::__construct($xml);
     $user = new Videojuicer_User($xml);
     $this->user = $user;
 }
Example #2
0
 /**
  * Create the presentation list from the resulting xml
  */
 public function __construct($xml)
 {
     $xml = simplexml_load_string($xml);
     parent::__construct($xml);
     $presentation = new Videojuicer_Presentation($xml);
     $this->presentation = $presentation;
 }
Example #3
0
 /**
  * Create the presentation list from the resulting xml
  */
 public function __construct($xml)
 {
     $xml = simplexml_load_string($xml);
     parent::__construct($xml);
     $list = new Videojuicer_User_List();
     $items = $xml->items->user;
     foreach ($items as $item) {
         $obj = new Videojuicer_User($item);
         $list->add($obj);
     }
     $this->users = $list;
 }
Example #4
0
 /**
  * Create the presentation list from the resulting xml
  */
 public function __construct($xml)
 {
     $xml = simplexml_load_string($xml);
     parent::__construct($xml);
     $presentations = new Videojuicer_Presentation_List();
     $items = $xml->items->presentation;
     foreach ($items as $item) {
         $presentation = new Videojuicer_Presentation($item);
         $presentations->add($presentation);
     }
     $this->presentations = $presentations;
 }
Example #5
0
 /**
  * Create the presentation list from the resulting xml
  */
 public function __construct($xml)
 {
     parent::__construct($xml);
     print_r($xml);
 }
Example #6
0
 /**
  * Create a token object from the data
  */
 public function __construct($data)
 {
     parent::__construct($data);
     $unauthorized_token = new Videojuicer_Token_Unauthorized($data);
     Videojuicer::set_request_token($unauthorized_token);
 }
Example #7
0
 /**
  * Create a token object from the data
  */
 public function __construct($data)
 {
     parent::__construct($data);
     $authorized_token = new Videojuicer_Token_Authorized($data);
     Videojuicer::set_access_token($authorized_token);
 }
Example #8
0
 /**
  * Parse the xml
  */
 public function __construct($xml)
 {
     $xml = simplexml_load_string($xml);
     parent::__construct($xml);
     $this->html = $xml->html;
 }