Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #5
0
 /**
  * Create the presentation list from the resulting xml
  */
 public function __construct($xml)
 {
     parent::__construct($xml);
     print_r($xml);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #8
0
 /**
  * Parse the xml
  */
 public function __construct($xml)
 {
     $xml = simplexml_load_string($xml);
     parent::__construct($xml);
     $this->html = $xml->html;
 }