public function FetchPackageId()
 {
     $redirect = HttpUtilities::GetRedirectUrl($this->data['shortUrl']);
     $redirect = end(explode('/', $redirect));
     return $redirect;
 }
Beispiel #2
0
 /**
  * Resolve ListItem entity type
  * @return string
  */
 private function getListItemEntityType()
 {
     $encName = HttpUtilities::xmlEncode($this->name);
     return 'SP.Data.' . $encName . 'ListItem';
 }
Beispiel #3
0
 /**
  * Save the SPO auth cookies
  * @param mixed $header
  */
 protected function saveAuthCookies($header)
 {
     $cookies = HttpUtilities::cookieParse($header);
     $this->FedAuth = $cookies['FedAuth'];
     $this->rtFa = $cookies['rtFa'];
 }