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