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