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 getIsWOPIEnabled() { return $this->getProperty("IsWOPIEnabled"); }
Indicates whether the folder is enabled for WOPI default action. @return bool
getIsWOPIEnabled
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setIsWOPIEnabled($value) { $this->setProperty("IsWOPIEnabled", $value, true); }
Indicates whether the folder is enabled for WOPI default action. @var bool
setIsWOPIEnabled
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getItemCount() { return $this->getProperty("ItemCount"); }
Specifies the count of items in the list folder. @return integer
getItemCount
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setItemCount($value) { $this->setProperty("ItemCount", $value, true); }
Specifies the count of items in the list folder. @var integer
setItemCount
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getName() { return $this->getProperty("Name"); }
Specifies the list folder name.It MUST NOT be NULL. Its length MUST be equal to or less than 256. @return string
getName
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setName($value) { $this->setProperty("Name", $value, true); }
Specifies the list folder name.It MUST NOT be NULL. Its length MUST be equal to or less than 256. @var string
setName
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getProgID() { return $this->getProperty("ProgID"); }
Gets a string that identifies the application in which the folder was created. @return string
getProgID
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setProgID($value) { $this->setProperty("ProgID", $value, true); }
Gets a string that identifies the application in which the folder was created. @var string
setProgID
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getServerRelativeUrl() { return $this->getProperty("ServerRelativeUrl"); }
Specifies the server-relative URL of the list folder.It MUST NOT be NULL. It MUST be a URL of server-relative form. @return string
getServerRelativeUrl
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setServerRelativeUrl($value) { return $this->setProperty("ServerRelativeUrl", $value, true); }
Specifies the server-relative URL of the list folder.It MUST NOT be NULL. It MUST be a URL of server-relative form. @return self @var string
setServerRelativeUrl
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getTimeCreated() { return $this->getProperty("TimeCreated"); }
Gets when the folder was created in UTC. @return string
getTimeCreated
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setTimeCreated($value) { return $this->setProperty("TimeCreated", $value, true); }
Gets when the folder was created in UTC. @return self @var string
setTimeCreated
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getTimeLastModified() { return $this->getProperty("TimeLastModified"); }
Gets the last time this folder or a direct child was modified in UTC. @return string
getTimeLastModified
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setTimeLastModified($value) { $this->setProperty("TimeLastModified", $value, true); }
Gets the last time this folder or a direct child was modified in UTC. @var string
setTimeLastModified
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getUniqueId() { return $this->getProperty("UniqueId"); }
Gets the unique ID of the folder. @return string
getUniqueId
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setUniqueId($value) { $this->setProperty("UniqueId", $value, true); }
Gets the unique ID of the folder. @var string
setUniqueId
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getWelcomePage() { return $this->getProperty("WelcomePage"); }
Specifies the server-relative URL for the list folderWelcome page.It MUST NOT be NULL. @return string
getWelcomePage
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setWelcomePage($value) { return $this->setProperty("WelcomePage", $value, true); }
Specifies the server-relative URL for the list folderWelcome page.It MUST NOT be NULL. @return self @var string
setWelcomePage
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getParentFolder() { return $this->getProperty("ParentFolder", new Folder($this->getContext(), new ResourcePath("ParentFolder", $this->getResourcePath()))); }
Specifies the list folder. @return Folder
getParentFolder
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getStorageMetrics() { return $this->getProperty("StorageMetrics", new StorageMetrics($this->getContext(), new ResourcePath("StorageMetrics", $this->getResourcePath()))); }
@return StorageMetrics
getStorageMetrics
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getServerRelativePath() { return $this->getProperty("ServerRelativePath", new SPResourcePath()); }
Returns the server-relative path of the folder. @return SPResourcePath
getServerRelativePath
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setServerRelativePath($value) { return $this->setProperty("ServerRelativePath", $value, true); }
Returns the server-relative path of the folder. @return self @var SPResourcePath
setServerRelativePath
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getExistsAllowThrowForPolicyFailures() { return $this->getProperty("ExistsAllowThrowForPolicyFailures"); }
@return bool
getExistsAllowThrowForPolicyFailures
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setExistsAllowThrowForPolicyFailures($value) { return $this->setProperty("ExistsAllowThrowForPolicyFailures", $value, true); }
@var bool
setExistsAllowThrowForPolicyFailures
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getExistsWithException() { return $this->getProperty("ExistsWithException"); }
@return bool
getExistsWithException
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setExistsWithException($value) { return $this->setProperty("ExistsWithException", $value, true); }
@var bool
setExistsWithException
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function has($perm) { if ($perm == PermissionKind::EmptyMask) return true; if ($perm == PermissionKind::FullMask) { if (((int)$this->High & (int)32767) == (int)32767) return (int)$this->Low == (int)65535; return false; } $high = (int)($perm - 1); $low = 1; if ($high >= 0 && $high < 32) return 0 != ((int)$this->Low & (int)($low << $high)); if ($high >= 32 && $high < 64) return 0 != ((int)$this->High & (int)($low << $high - 32)); return false; }
@param int $perm @return bool
has
php
vgrem/phpSPO
src/SharePoint/BasePermissions.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/BasePermissions.php
MIT
public function getId() { if (!$this->isPropertyAvailable("Id")) { return null; } return $this->getProperty("Id"); }
@return string
getId
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function setId($value) { $this->setProperty("Id", $value, true); }
@var string
setId
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function getServerRelativeUrl() { if (!$this->isPropertyAvailable("ServerRelativeUrl")) { return null; } return $this->getProperty("ServerRelativeUrl"); }
@return string
getServerRelativeUrl
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function setServerRelativeUrl($value) { $this->setProperty("ServerRelativeUrl", $value, true); }
@var string
setServerRelativeUrl
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function getFormType() { if (!$this->isPropertyAvailable("FormType")) { return null; } return $this->getProperty("FormType"); }
@return integer
getFormType
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function setFormType($value) { $this->setProperty("FormType", $value, true); }
@var integer
setFormType
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function setResourcePath($value) { $this->setProperty("ResourcePath", $value, true); }
Gets the Web site–relative Path of the form. @var SPResourcePath
setResourcePath
php
vgrem/phpSPO
src/SharePoint/Form.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Form.php
MIT
public function getChangeToken() { return $this->getProperty("ChangeToken"); }
Returns an SPChangeToken that represents the change. @return ChangeToken
getChangeToken
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function setChangeToken($value) { $this->setProperty("ChangeToken", $value, true); return $this; }
Returns an SPChangeToken that represents the change. @return self @var ChangeToken
setChangeToken
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function getChangeType() { return $this->getProperty("ChangeType"); }
Returns an SPChangeType that indicates the type of change, including adding, updating, deleting, or renaming changes, but also moving items away from or into lists and folders. @return integer
getChangeType
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function setChangeType($value) { $this->setProperty("ChangeType", $value, true); return $this; }
Returns an SPChangeType that indicates the type of change, including adding, updating, deleting, or renaming changes, but also moving items away from or into lists and folders. @return self @var integer
setChangeType
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function getRelativeTime() { return $this->getProperty("RelativeTime"); }
A string representing a relative value of time.The value is composed of two parts in the format "mode|timevalue".If Mode is 0, the timevalue MUST be the text passed through as the display text for end user display.If Mode is 1, the timevalue MUST be a relative display mode in the format “bFuture|bucket|args” using the following values:§bFuture refers to whether time is later than UtcNow§bucket indicates the type of string to output§args contains the values that will be inserted into the string referenced by the bucket @return string
getRelativeTime
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function setRelativeTime($value) { $this->setProperty("RelativeTime", $value, true); }
A string representing a relative value of time.The value is composed of two parts in the format "mode|timevalue".If Mode is 0, the timevalue MUST be the text passed through as the display text for end user display.If Mode is 1, the timevalue MUST be a relative display mode in the format “bFuture|bucket|args” using the following values:§bFuture refers to whether time is later than UtcNow§bucket indicates the type of string to output§args contains the values that will be inserted into the string referenced by the bucket @var string
setRelativeTime
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function getSiteId() { return $this->getProperty("SiteId"); }
SiteId Returns the Id of the site of the changed item @return string
getSiteId
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function setSiteId($value) { $this->setProperty("SiteId", $value, true); }
SiteId Returns the Id of the site of the changed item @var string
setSiteId
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function getTime() { return $this->getProperty("Time"); }
A string representing a relative value of time.The value is composed of two parts in the format "mode|timevalue".If Mode is 0, the timevalue MUST be the text passed through as the display text for end user display.If Mode is 1, the timevalue MUST be a relative display mode in the format “bFuture|bucket|args” using the following values:§bFuture refers to whether time is later than UtcNow§bucket indicates the type of string to output§args contains the values that will be inserted into the string referenced by the bucket @return string
getTime
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function setTime($value) { $this->setProperty("Time", $value, true); return $this; }
A string representing a relative value of time.The value is composed of two parts in the format "mode|timevalue".If Mode is 0, the timevalue MUST be the text passed through as the display text for end user display.If Mode is 1, the timevalue MUST be a relative display mode in the format “bFuture|bucket|args” using the following values:§bFuture refers to whether time is later than UtcNow§bucket indicates the type of string to output§args contains the values that will be inserted into the string referenced by the bucket @var string @return self
setTime
php
vgrem/phpSPO
src/SharePoint/Change.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Change.php
MIT
public function __construct(ClientRuntimeContext $ctx, ?ResourcePath $resourcePath = null, ?ClientObject $parent = null) { parent::__construct($ctx, $resourcePath, Attachment::class, $parent); }
@param ClientRuntimeContext $ctx @param ResourcePath|null $resourcePath @param ClientObject|null $parent
__construct
php
vgrem/phpSPO
src/SharePoint/AttachmentCollection.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/AttachmentCollection.php
MIT
public function add($information_or_path) { if(is_string($information_or_path)){ $fileName = rawurlencode(basename($information_or_path)); $fileContent = file_get_contents($information_or_path); } else{ $fileName = rawurlencode($information_or_path->FileName); $fileContent = $information_or_path->ContentStream; } $attachment = new Attachment($this->getContext(),null); $qry = new InvokePostMethodQuery( $this, "add", array("FileName" =>$fileName), null, $fileContent); $this->getContext()->addQueryAndResultObject($qry,$attachment); $this->addChild($attachment); return $attachment; }
Creates an Attachment resource @param AttachmentCreationInformation|string $information_or_path @return Attachment
add
php
vgrem/phpSPO
src/SharePoint/AttachmentCollection.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/AttachmentCollection.php
MIT
public function getByFileName($fileName) { return new Attachment( $this->getContext(), new ServiceOperationPath("GetByFileName",array($fileName),$this->getResourcePath()) ); }
@param string $fileName @return Attachment
getByFileName
php
vgrem/phpSPO
src/SharePoint/AttachmentCollection.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/AttachmentCollection.php
MIT
public function getReceiverAssembly() { if (!$this->isPropertyAvailable("ReceiverAssembly")) { return null; } return $this->getProperty("ReceiverAssembly"); }
Specifies the strong name of the assembly that is used for the event receiver. @return string
getReceiverAssembly
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setReceiverAssembly($value) { $this->setProperty("ReceiverAssembly", $value, true); }
Specifies the strong name of the assembly that is used for the event receiver. @var string
setReceiverAssembly
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getReceiverClass() { if (!$this->isPropertyAvailable("ReceiverClass")) { return null; } return $this->getProperty("ReceiverClass"); }
Specifies a string that represents the class that is used for receiving events. @return string
getReceiverClass
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setReceiverClass($value) { $this->setProperty("ReceiverClass", $value, true); }
Specifies a string that represents the class that is used for receiving events. @var string
setReceiverClass
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getReceiverId() { if (!$this->isPropertyAvailable("ReceiverId")) { return null; } return $this->getProperty("ReceiverId"); }
Specifies the identifier of the event receiver definition. @return string
getReceiverId
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setReceiverId($value) { $this->setProperty("ReceiverId", $value, true); }
Specifies the identifier of the event receiver definition. @var string
setReceiverId
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getReceiverName() { if (!$this->isPropertyAvailable("ReceiverName")) { return null; } return $this->getProperty("ReceiverName"); }
Specifies the name of the event receiver. @return string
getReceiverName
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setReceiverName($value) { $this->setProperty("ReceiverName", $value, true); }
Specifies the name of the event receiver. @var string
setReceiverName
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getSequenceNumber() { if (!$this->isPropertyAvailable("SequenceNumber")) { return null; } return $this->getProperty("SequenceNumber"); }
Specifies an integer that represents the relative sequence of the event. @return integer
getSequenceNumber
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setSequenceNumber($value) { $this->setProperty("SequenceNumber", $value, true); }
Specifies an integer that represents the relative sequence of the event. @var integer
setSequenceNumber
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getSynchronization() { if (!$this->isPropertyAvailable("Synchronization")) { return null; } return $this->getProperty("Synchronization"); }
Specifies the synchronization of actions of this event receiver (section 3.2.5.204). @return integer
getSynchronization
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setSynchronization($value) { $this->setProperty("Synchronization", $value, true); }
Specifies the synchronization of actions of this event receiver (section 3.2.5.204). @var integer
setSynchronization
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getEventType() { if (!$this->isPropertyAvailable("EventType")) { return null; } return $this->getProperty("EventType"); }
Specifies the type of event for the event receiver (section 3.2.5.205). @return integer
getEventType
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setEventType($value) { $this->setProperty("EventType", $value, true); }
Specifies the type of event for the event receiver (section 3.2.5.205). @var integer
setEventType
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getReceiverUrl() { if (!$this->isPropertyAvailable("ReceiverUrl")) { return null; } return $this->getProperty("ReceiverUrl"); }
Specifies the URL of a web service that is used as an event receiver. @return string
getReceiverUrl
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function setReceiverUrl($value) { $this->setProperty("ReceiverUrl", $value, true); }
Specifies the URL of a web service that is used as an event receiver. @var string
setReceiverUrl
php
vgrem/phpSPO
src/SharePoint/EventReceiverDefinition.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/EventReceiverDefinition.php
MIT
public function getContextData() { if (!$this->isPropertyAvailable("ContextData")) { return null; } return $this->getProperty("ContextData"); }
@return string
getContextData
php
vgrem/phpSPO
src/SharePoint/ConnectorResult.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/ConnectorResult.php
MIT
public function setContextData($value) { $this->setProperty("ContextData", $value, true); }
@var string
setContextData
php
vgrem/phpSPO
src/SharePoint/ConnectorResult.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/ConnectorResult.php
MIT
public function getValue() { if (!$this->isPropertyAvailable("Value")) { return null; } return $this->getProperty("Value"); }
@return string
getValue
php
vgrem/phpSPO
src/SharePoint/ConnectorResult.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/ConnectorResult.php
MIT
public function setValue($value) { $this->setProperty("Value", $value, true); }
@var string
setValue
php
vgrem/phpSPO
src/SharePoint/ConnectorResult.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/ConnectorResult.php
MIT
public function getMember() { return $this->getProperty("Member", new Principal($this->getContext(),new ResourcePath("Member", $this->getResourcePath()))); }
@return Principal
getMember
php
vgrem/phpSPO
src/SharePoint/RoleAssignment.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RoleAssignment.php
MIT
public function getPrincipalId() { return $this->getProperty("PrincipalId"); }
Gets the identifier of the user or group corresponding to the role assignment.<79> @return integer
getPrincipalId
php
vgrem/phpSPO
src/SharePoint/RoleAssignment.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RoleAssignment.php
MIT
public function setPrincipalId($value) { $this->setProperty("PrincipalId", $value, true); }
Sets the identifier of the user or group corresponding to the role assignment.<79> @var integer
setPrincipalId
php
vgrem/phpSPO
src/SharePoint/RoleAssignment.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RoleAssignment.php
MIT
public function getRoleDefinitionBindings() { return $this->getProperty("RoleDefinitionBindings", new RoleDefinitionCollection($this->getContext(), new ResourcePath("RoleDefinitionBindings", $this->getResourcePath()))); }
Specifies a collection of role definitions for this role assignment.It MUST NOT be NULL. @return RoleDefinitionCollection
getRoleDefinitionBindings
php
vgrem/phpSPO
src/SharePoint/RoleAssignment.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RoleAssignment.php
MIT
public function getDateTimeCalendarType() { if (!$this->isPropertyAvailable("DateTimeCalendarType")) { return null; } return $this->getProperty("DateTimeCalendarType"); }
Specifies the calendar type of the field (2).It MUST be None if the field (2) is in an external list. @return integer
getDateTimeCalendarType
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function setDateTimeCalendarType($value) { $this->setProperty("DateTimeCalendarType", $value, true); }
Specifies the calendar type of the field (2).It MUST be None if the field (2) is in an external list. @var integer
setDateTimeCalendarType
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function getDisplayFormat() { if (!$this->isPropertyAvailable("DisplayFormat")) { return null; } return $this->getProperty("DisplayFormat"); }
Specifies the type of date and time format that is used in the field (2). @return integer
getDisplayFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function setDisplayFormat($value) { $this->setProperty("DisplayFormat", $value, true); }
Specifies the type of date and time format that is used in the field (2). @var integer
setDisplayFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function getFriendlyDisplayFormat() { if (!$this->isPropertyAvailable("FriendlyDisplayFormat")) { return null; } return $this->getProperty("FriendlyDisplayFormat"); }
Gets or sets the type of friendly display format that is used in the field.<16> @return integer
getFriendlyDisplayFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function setFriendlyDisplayFormat($value) { $this->setProperty("FriendlyDisplayFormat", $value, true); }
Gets or sets the type of friendly display format that is used in the field.<16> @var integer
setFriendlyDisplayFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function getDateFormat() { if (!$this->isPropertyAvailable("DateFormat")) { return null; } return $this->getProperty("DateFormat"); }
@return string
getDateFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function setDateFormat($value) { $this->setProperty("DateFormat", $value, true); }
@var string
setDateFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function getTimeFormat() { if (!$this->isPropertyAvailable("TimeFormat")) { return null; } return $this->getProperty("TimeFormat"); }
@return string
getTimeFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function setTimeFormat($value) { $this->setProperty("TimeFormat", $value, true); }
@var string
setTimeFormat
php
vgrem/phpSPO
src/SharePoint/FieldDateTime.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldDateTime.php
MIT
public function getItemById($id) { return new ListItem($this->getContext(), new ResourcePath("items({$id})", $this->getResourcePath())); }
Returns the list item with the specified list item identifier. @param integer $id SPList Item id @return ListItem List Item resource
getItemById
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getItems(?CamlQuery $camlQuery = null) { $targetItems = new ListItemCollection($this->getContext(), new ResourcePath("items", $this->getResourcePath())); if (is_null($camlQuery)) { return $targetItems; } $qry = new InvokePostMethodQuery($this, "GetItems", $camlQuery, "query", $camlQuery); $this->getContext()->addQueryAndResultObject($qry, $targetItems); return $targetItems; }
Returns a collection of items from the list based on the specified query. @param CamlQuery $camlQuery @return ListItemCollection
getItems
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getUserEffectivePermissions($loginName) { $permissions = new BasePermissions(); $qry = new InvokeMethodQuery($this, "GetUserEffectivePermissions", array(rawurlencode($loginName))); $this->getContext()->addQueryAndResultObject($qry, $permissions); return $permissions; }
Gets the set of permissions for the specified user @param string $loginName @return BasePermissions
getUserEffectivePermissions
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getListItemChangesSinceToken(ChangeLogItemQuery $query) { $result = new ListItemCollection($this->getContext(), null); $qry = new InvokePostMethodQuery($this, "getListItemChangesSinceToken", null, "query", $query); $this->getContext()->addQueryAndResultObject($qry, $result); return $result; }
@param ChangeLogItemQuery $query The query that contains the change token. Pass this parameter in the request body, as shown in the request example. @return ListItemCollection
getListItemChangesSinceToken
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getChanges(ChangeQuery $query) { $qry = new InvokePostMethodQuery($this, "GetChanges", null, "query", $query); $changes = new ChangeCollection($this->getContext()); $this->getContext()->addQueryAndResultObject($qry, $changes); return $changes; }
@param ChangeQuery $query @return ChangeCollection
getChanges
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getContentTypes() { return $this->getProperty("ContentTypes", new ContentTypeCollection($this->getContext(), new ResourcePath("ContentTypes", $this->getResourcePath()))); }
@return ContentTypeCollection
getContentTypes
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getFields() { return $this->getProperty("Fields", new FieldCollection($this->getContext(), new ResourcePath("fields", $this->getResourcePath()))); }
@return FieldCollection
getFields
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getRootFolder() { return $this->getProperty("RootFolder", new Folder($this->getContext(), new ResourcePath("rootFolder", $this->getResourcePath()))); }
@return Folder
getRootFolder
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getViews() { return $this->getProperty("Views", new ViewCollection($this->getContext(), new ResourcePath("views", $this->getResourcePath()))); }
@return ViewCollection
getViews
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getInformationRightsManagementSettings() { return $this->getProperty("InformationRightsManagementSettings", new InformationRightsManagementSettings($this->getContext(), new ResourcePath("InformationRightsManagementSettings", $this->getResourcePath()))); }
@return InformationRightsManagementSettings
getInformationRightsManagementSettings
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getParentWeb() { return $this->getProperty("ParentWeb", new Web($this->getContext(), new ResourcePath("ParentWeb", $this->getResourcePath()))); }
@return Web
getParentWeb
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getServerTypeInfo() { return new ServerTypeInfo("SP", "List"); }
@return ServerTypeInfo
getServerTypeInfo
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getAllowContentTypes() { return $this->getProperty("AllowContentTypes"); }
@return bool
getAllowContentTypes
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function setAllowContentTypes($value) { return $this->setProperty("AllowContentTypes", $value, true); }
@return SPList @var bool
setAllowContentTypes
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getAllowDeletion() { return $this->getProperty("AllowDeletion"); }
@return bool
getAllowDeletion
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function setAllowDeletion($value) { return $this->setProperty("AllowDeletion", $value, true); }
@return self @var bool
setAllowDeletion
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getBaseTemplate() { return $this->getProperty("BaseTemplate"); }
@return integer
getBaseTemplate
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function setBaseTemplate($value) { return $this->setProperty("BaseTemplate", $value, true); }
@return self @var integer
setBaseTemplate
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT
public function getBaseType() { return $this->getProperty("BaseType"); }
@return integer
getBaseType
php
vgrem/phpSPO
src/SharePoint/SPList.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/SPList.php
MIT