code
stringlengths
15
9.96M
docstring
stringlengths
1
10.1k
func_name
stringlengths
1
124
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
6
186
url
stringlengths
50
236
license
stringclasses
4 values
public function setLink($value) { $this->setProperty("Link", $value, true); }
@var SharingLink
setLink
php
vgrem/phpSPO
src/OneDrive/Permission.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Permission.php
MIT
public function getHasPassword() { return $this->getProperty("HasPassword"); }
@return bool
getHasPassword
php
vgrem/phpSPO
src/OneDrive/Permission.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Permission.php
MIT
public function setHasPassword($value) { $this->setProperty("HasPassword", $value, true); }
@var bool
setHasPassword
php
vgrem/phpSPO
src/OneDrive/Permission.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Permission.php
MIT
public function getLastModifiedBy() { return $this->getProperty("LastModifiedBy", new IdentitySet()); }
@return IdentitySet
getLastModifiedBy
php
vgrem/phpSPO
src/OneDrive/BaseItemVersion.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/BaseItemVersion.php
MIT
public function setLastModifiedBy($value) { return $this->setProperty("LastModifiedBy", $value, true); }
@return self @var IdentitySet
setLastModifiedBy
php
vgrem/phpSPO
src/OneDrive/BaseItemVersion.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/BaseItemVersion.php
MIT
public function getPublication() { return $this->getProperty("Publication", new PublicationFacet()); }
@return PublicationFacet
getPublication
php
vgrem/phpSPO
src/OneDrive/BaseItemVersion.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/BaseItemVersion.php
MIT
public function setPublication($value) { return $this->setProperty("Publication", $value, true); }
@return self @var PublicationFacet
setPublication
php
vgrem/phpSPO
src/OneDrive/BaseItemVersion.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/BaseItemVersion.php
MIT
public function getResourceName() { if (!$this->isPropertyAvailable("ResourceName")) { return null; } return $this->getProperty("ResourceName"); }
@return string
getResourceName
php
vgrem/phpSPO
src/OneDrive/ResourceOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ResourceOperation.php
MIT
public function setResourceName($value) { $this->setProperty("ResourceName", $value, true); }
@var string
setResourceName
php
vgrem/phpSPO
src/OneDrive/ResourceOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ResourceOperation.php
MIT
public function getActionName() { if (!$this->isPropertyAvailable("ActionName")) { return null; } return $this->getProperty("ActionName"); }
@return string
getActionName
php
vgrem/phpSPO
src/OneDrive/ResourceOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ResourceOperation.php
MIT
public function setActionName($value) { $this->setProperty("ActionName", $value, true); }
@var string
setActionName
php
vgrem/phpSPO
src/OneDrive/ResourceOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ResourceOperation.php
MIT
public function getDescription() { if (!$this->isPropertyAvailable("Description")) { return null; } return $this->getProperty("Description"); }
@return string
getDescription
php
vgrem/phpSPO
src/OneDrive/ResourceOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ResourceOperation.php
MIT
public function setDescription($value) { $this->setProperty("Description", $value, true); }
@var string
setDescription
php
vgrem/phpSPO
src/OneDrive/ResourceOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ResourceOperation.php
MIT
public function getAllTime() { if (!$this->isPropertyAvailable("AllTime")) { $this->setProperty("AllTime", new ItemActivityStat($this->getContext(), new ResourcePath("AllTime", $this->getResourcePath()))); } return $this->getProperty("AllTime"); }
@return ItemActivityStat
getAllTime
php
vgrem/phpSPO
src/OneDrive/ItemAnalytics.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ItemAnalytics.php
MIT
public function getLastSevenDays() { if (!$this->isPropertyAvailable("LastSevenDays")) { $this->setProperty("LastSevenDays", new ItemActivityStat($this->getContext(), new ResourcePath("LastSevenDays", $this->getResourcePath()))); } return $this->getProperty("LastSevenDays"); }
@return ItemActivityStat
getLastSevenDays
php
vgrem/phpSPO
src/OneDrive/ItemAnalytics.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/ItemAnalytics.php
MIT
public function getDisplayName() { return $this->getProperty("DisplayName"); }
@return string
getDisplayName
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function setDisplayName($value) { $this->setProperty("DisplayName", $value, true); }
@var string
setDisplayName
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function getDrive() { return $this->getProperty("Drive", new Drive($this->getContext(), new ResourcePath("Drive", $this->getResourcePath()))); }
@return Drive
getDrive
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function getList() { return $this->getProperty("List", new ListInfo()); }
@return ListInfo
getList
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function setList($value) { $this->setProperty("List", $value, true); }
@var ListInfo
setList
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function getSharepointIds() { return $this->getProperty("SharepointIds", new SharepointIds()); }
@return SharepointIds
getSharepointIds
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function setSharepointIds($value) { $this->setProperty("SharepointIds", $value, true); }
@var SharepointIds
setSharepointIds
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function getSystem() { return $this->getProperty("System", new SystemFacet()); }
@return SystemFacet
getSystem
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function setSystem($value) { $this->setProperty("System", $value, true); }
@var SystemFacet
setSystem
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function getItems() { return $this->getProperty("Items", new ListItemCollection($this->getContext(), new ResourcePath("Items", $this->getResourcePath()))); }
@return ListItemCollection
getItems
php
vgrem/phpSPO
src/OneDrive/Lists/SharePointList.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Lists/SharePointList.php
MIT
public function getOwner() { return $this->getProperty("Owner", new IdentitySet()); }
@return IdentitySet
getOwner
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function setOwner($value) { return $this->setProperty("Owner", $value, true); }
@return SharedDriveItem @var IdentitySet
setOwner
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function getDriveItem() { return $this->getProperty("DriveItem", new DriveItem($this->getContext(), new ResourcePath("DriveItem", $this->getResourcePath()))); }
@return DriveItem
getDriveItem
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function getList() { return $this->getProperty("List", new SharePointList($this->getContext(), new ResourcePath("List", $this->getResourcePath()))); }
@return SharePointList
getList
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function getListItem() { return $this->getProperty("ListItem", new ListItem($this->getContext(), new ResourcePath("ListItem", $this->getResourcePath()))); }
@return ListItem
getListItem
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function getRoot() { return $this->getProperty("Root", new DriveItem($this->getContext(), new ResourcePath("Root", $this->getResourcePath()))); }
@return DriveItem
getRoot
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function getSite() { return $this->getProperty("Site", new Site($this->getContext(), new ResourcePath("Site", $this->getResourcePath()))); }
@return Site
getSite
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function getItems() { return $this->getProperty("Items", new DriveItemCollection($this->getContext(), new ResourcePath("Items", $this->getResourcePath()))); }
@return DriveItemCollection
getItems
php
vgrem/phpSPO
src/OneDrive/Shares/SharedDriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Shares/SharedDriveItem.php
MIT
public function createFolder($folderName) { $folderItem = new DriveItem($this->getContext()); $this->addChild($folderItem); $payload = array( "name" => $folderName, "folder" => new stdClass(), "@microsoft.graph.conflictBehavior" => ConflictBehavior::Rename, ); $qry = new InvokePostMethodQuery($this,null,null,null, $payload); $this->getContext()->addQueryAndResultObject($qry, $folderItem); $this->getContext()->getPendingRequest()->beforeExecuteRequestOnce(function (RequestOptions $request){ $format = new JsonFormat(ODataMetadataLevel::MinimalMetadata); $request->Headers["Content-Type"] = $format->getMediaType(); }); return $folderItem; }
Create a new folder or DriveItem in a Drive with a specified parent item or path. @param string $folderName @return DriveItem
createFolder
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItemCollection.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItemCollection.php
MIT
public function upload($name, $content) { $driveItem = new DriveItem($this->getContext(), new ResourcePathUrl($name,$this->resourcePath)); $qry = new InvokePostMethodQuery($driveItem, null,null,null,$content); $this->getContext()->addQueryAndResultObject($qry,$driveItem); $this->getContext()->getPendingRequest()->beforeExecuteRequestOnce(function (RequestOptions $request){ $request->Url .= "content"; $request->Method = HttpMethod::Put; }); return $driveItem; }
The simple upload API allows you to provide the contents of a new file or update the contents of an existing file in a single API call. This method only supports files up to 4MB in size. @param string $name @param string $content @return DriveItem
upload
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function delete() { $qry = new DeleteEntityQuery($this); $this->getContext()->addQuery($qry); return $this; }
Delete a DriveItem by using its ID or path. Note that deleting items using this method will move the items to the recycle bin instead of permanently deleting the item. @return self
delete
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getCTag() { return $this->getProperty("CTag"); }
@return string
getCTag
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setCTag($value) { return $this->setProperty("CTag", $value, true); }
@return self @var string
setCTag
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getLocation() { return $this->getProperty("Location", new GeoCoordinates()); }
@return GeoCoordinates
getLocation
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setLocation($value) { return $this->setProperty("Location", $value, true); }
@return self @var GeoCoordinates
setLocation
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getSize() { return $this->getProperty("Size"); }
@return integer
getSize
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setSize($value) { return $this->setProperty("Size", $value, true); }
@return self @var integer
setSize
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getWebDavUrl() { return $this->getProperty("WebDavUrl"); }
@return string
getWebDavUrl
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setWebDavUrl($value) { return $this->setProperty("WebDavUrl", $value, true); }
@return self @var string
setWebDavUrl
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getAudio() { return $this->getProperty("Audio", new Audio()); }
@return Audio
getAudio
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setAudio($value) { return $this->setProperty("Audio", $value, true); }
@return self @var Audio
setAudio
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getDeleted() { return $this->getProperty("Deleted", new Deleted()); }
@return Deleted
getDeleted
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setDeleted($value) { return $this->setProperty("Deleted", $value, true); }
@return self @var Deleted
setDeleted
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getFile() { return $this->getProperty("File", new File()); }
@return File
getFile
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setFile($value) { return $this->setProperty("File", $value, true); }
@return self @var File
setFile
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getFileSystemInfo() { return $this->getProperty("FileSystemInfo", new FileSystemInfo()); }
@return FileSystemInfo
getFileSystemInfo
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setFileSystemInfo($value) { return $this->setProperty("FileSystemInfo", $value, true); }
@return self @var FileSystemInfo
setFileSystemInfo
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getFolder() { return $this->getProperty("Folder", new Folder()); }
@return Folder
getFolder
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setFolder($value) { return $this->setProperty("Folder", $value, true); }
@return self @var Folder
setFolder
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getImage() { return $this->getProperty("Image", new Image()); }
@return Image
getImage
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setImage($value) { return $this->setProperty("Image", $value, true); }
@return self @var Image
setImage
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getPackage() { return $this->getProperty("Package", new Package()); }
@return Package
getPackage
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setPackage($value) { $this->setProperty("Package", $value, true); }
@var Package
setPackage
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getPhoto() { if (!$this->isPropertyAvailable("Photo")) { return null; } return $this->getProperty("Photo"); }
@return Photo
getPhoto
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setPhoto($value) { $this->setProperty("Photo", $value, true); }
@var Photo
setPhoto
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getPublication() { return $this->getProperty("Publication", new PublicationFacet()); }
@return PublicationFacet
getPublication
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setPublication($value) { $this->setProperty("Publication", $value, true); }
@var PublicationFacet
setPublication
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getRemoteItem() { return $this->getProperty("RemoteItem", new RemoteItem()); }
@return RemoteItem
getRemoteItem
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setRemoteItem($value) { $this->setProperty("RemoteItem", $value, true); }
@var RemoteItem
setRemoteItem
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getRoot() { return $this->getProperty("Root", new Root()); }
@return Root
getRoot
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setRoot($value) { $this->setProperty("Root", $value, true); }
@var Root
setRoot
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getSearchResult() { return $this->getProperty("SearchResult", new SearchResult()); }
@return SearchResult
getSearchResult
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setSearchResult($value) { $this->setProperty("SearchResult", $value, true); }
@var SearchResult
setSearchResult
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getShared() { return $this->getProperty("Shared", new Shared()); }
@return Shared
getShared
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setShared($value) { $this->setProperty("Shared", $value, true); }
@var Shared
setShared
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getSharepointIds() { return $this->getProperty("SharepointIds", new SharepointIds()); }
@return SharepointIds
getSharepointIds
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setSharepointIds($value) { $this->setProperty("SharepointIds", $value, true); }
@var SharepointIds
setSharepointIds
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getSpecialFolder() { return $this->getProperty("SpecialFolder", new SpecialFolder()); }
@return SpecialFolder
getSpecialFolder
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setSpecialFolder($value) { $this->setProperty("SpecialFolder", $value, true); }
@var SpecialFolder
setSpecialFolder
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getVideo() { return $this->getProperty("Video", new Video()); }
@return Video
getVideo
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setVideo($value) { $this->setProperty("Video", $value, true); }
@var Video
setVideo
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getWorkbook() { return $this->getProperty("Workbook", new Workbook($this->getContext(), new ResourcePath("Workbook", $this->getResourcePath()))); }
@return Workbook
getWorkbook
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getAnalytics() { return $this->getProperty("Analytics", new ItemAnalytics($this->getContext(), new ResourcePath("Analytics", $this->getResourcePath()))); }
@return ItemAnalytics
getAnalytics
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getListItem() { return $this->getProperty("ListItem", new ListItem($this->getContext(), new ResourcePath("ListItem", $this->getResourcePath()))); }
@return ListItem
getListItem
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getChildren() { return $this->getProperty("Children", new DriveItemCollection($this->getContext(), new ResourcePath("Children", $this->getResourcePath()))); }
@return DriveItemCollection
getChildren
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getPermissions() { return $this->getProperty("Permissions", new PermissionCollection($this->getContext(),new ResourcePath("Permissions", $this->getResourcePath()))); }
@return PermissionCollection
getPermissions
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function setProperty($name, $value, $persistChanges = true) { parent::setProperty($name, $value, $persistChanges); if($name == "id" && $this->resourcePath->getParent()->getName() == "Children"){ $this->resourcePath = new ResourcePath($value, new ResourcePath("items", $this->getParentCollection()->getResourcePath()->getParent()->getParent())); } return $this; }
@param string $name @param mixed $value @param bool $persistChanges @return self
setProperty
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function isFile(){ return $this->isPropertyAvailable("File"); }
@return bool
isFile
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function isFolder(){ return $this->isPropertyAvailable("Folder"); }
@return bool
isFolder
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItem.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItem.php
MIT
public function getSize() { if (!$this->isPropertyAvailable("Size")) { return null; } return $this->getProperty("Size"); }
@return integer
getSize
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItemVersion.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItemVersion.php
MIT
public function setSize($value) { $this->setProperty("Size", $value, true); }
@var integer
setSize
php
vgrem/phpSPO
src/OneDrive/DriveItems/DriveItemVersion.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/DriveItems/DriveItemVersion.php
MIT
public function getColumnGroup() { return $this->getProperty("ColumnGroup"); }
@return string
getColumnGroup
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setColumnGroup($value) { return $this->setProperty("ColumnGroup", $value, true); }
@return self @var string
setColumnGroup
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function getDescription() { return $this->getProperty("Description"); }
@return string
getDescription
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setDescription($value) { return $this->setProperty("Description", $value, true); }
@return self @var string
setDescription
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function getDisplayName() { if (!$this->isPropertyAvailable("DisplayName")) { return null; } return $this->getProperty("DisplayName"); }
@return string
getDisplayName
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setDisplayName($value) { return $this->setProperty("DisplayName", $value, true); }
@return self @var string
setDisplayName
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function getEnforceUniqueValues() { return $this->getProperty("EnforceUniqueValues"); }
@return bool
getEnforceUniqueValues
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setEnforceUniqueValues($value) { return $this->setProperty("EnforceUniqueValues", $value, true); }
@return self @var bool
setEnforceUniqueValues
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function getHidden() { return $this->getProperty("Hidden"); }
@return bool
getHidden
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setHidden($value) { $this->setProperty("Hidden", $value, true); }
@var bool
setHidden
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function getIndexed() { return $this->getProperty("Indexed"); }
@return bool
getIndexed
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setIndexed($value) { $this->setProperty("Indexed", $value, true); }
@var bool
setIndexed
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function getName() { return $this->getProperty("Name"); }
@return string
getName
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT
public function setName($value) { return $this->setProperty("Name", $value, true); }
@return self @var string
setName
php
vgrem/phpSPO
src/OneDrive/Columns/ColumnDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/OneDrive/Columns/ColumnDefinition.php
MIT