Esempio n. 1
0
 /**
  * Constructor
  * 
  * @param userName the user name
  * @param ticket the currenlty authenticated users ticket
  */
 public function __construct($repository, $ticket)
 {
     $this->nodeCache = array();
     $this->_repository = $repository;
     $this->_ticket = $ticket;
     $this->repositoryService = WebServiceFactory::getRepositoryService($this->_repository->connectionUrl, $this->_ticket);
     $this->contentService = WebServiceFactory::getContentService($this->_repository->connectionUrl, $this->_ticket);
 }