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 setCcRecipients($values){ $values = array_map(function ($value) { if ($value instanceof EmailAddress) return new Recipient($value); else return $value; }, $values); return $this->setProperty("CcRecipients", ClientValueCollection::fromArray(Recipient::class,$values)); }
@param EmailAddress[] $values @return $this
setCcRecipients
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getAttachments(){ return $this->getProperty("Attachments", new EntityCollection($this->getContext(),$this->getResourcePath(),Attachment::class)); }
@return EntityCollection
getAttachments
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getContentId() { return $this->getProperty("ContentId"); }
The ID of the attachment in the Exchange store. @return string
getContentId
php
vgrem/phpSPO
src/Outlook/Messages/FileAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/FileAttachment.php
MIT
public function setContentId($value) { $this->setProperty("ContentId", $value, true); }
The ID of the attachment in the Exchange store. @var string
setContentId
php
vgrem/phpSPO
src/Outlook/Messages/FileAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/FileAttachment.php
MIT
public function getContentLocation() { return $this->getProperty("ContentLocation"); }
Do not use this property as it is not supported. @return string
getContentLocation
php
vgrem/phpSPO
src/Outlook/Messages/FileAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/FileAttachment.php
MIT
public function setContentLocation($value) { $this->setProperty("ContentLocation", $value, true); }
Do not use this property as it is not supported. @var string
setContentLocation
php
vgrem/phpSPO
src/Outlook/Messages/FileAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/FileAttachment.php
MIT
public function getContentBytes() { return $this->getProperty("ContentBytes"); }
The base64-encoded contents of the file. @return string
getContentBytes
php
vgrem/phpSPO
src/Outlook/Messages/FileAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/FileAttachment.php
MIT
public function setContentBytes($value) { return $this->setProperty("ContentBytes", $value, true); }
The base64-encoded contents of the file. @return self @var string
setContentBytes
php
vgrem/phpSPO
src/Outlook/Messages/FileAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/FileAttachment.php
MIT
public function getResponseRequested() { if (!$this->isPropertyAvailable("ResponseRequested")) { return null; } return $this->getProperty("ResponseRequested"); }
@return bool
getResponseRequested
php
vgrem/phpSPO
src/Outlook/Events/EventMessageRequest.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessageRequest.php
MIT
public function setResponseRequested($value) { $this->setProperty("ResponseRequested", $value, true); }
@var bool
setResponseRequested
php
vgrem/phpSPO
src/Outlook/Events/EventMessageRequest.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessageRequest.php
MIT
public function getAllowNewTimeProposals() { if (!$this->isPropertyAvailable("AllowNewTimeProposals")) { return null; } return $this->getProperty("AllowNewTimeProposals"); }
@return bool
getAllowNewTimeProposals
php
vgrem/phpSPO
src/Outlook/Events/EventMessageRequest.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessageRequest.php
MIT
public function setAllowNewTimeProposals($value) { $this->setProperty("AllowNewTimeProposals", $value, true); }
@var bool
setAllowNewTimeProposals
php
vgrem/phpSPO
src/Outlook/Events/EventMessageRequest.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessageRequest.php
MIT
public function getOriginalStartTimeZone() { return $this->getProperty("OriginalStartTimeZone"); }
The start time zone that was set when the event was created. A value of `tzone://Microsoft/Custom` indicates that a legacy custom time zone was set in desktop Outlook. @return string
getOriginalStartTimeZone
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setOriginalStartTimeZone($value) { return $this->setProperty("OriginalStartTimeZone", $value, true); }
The start time zone that was set when the event was created. A value of `tzone://Microsoft/Custom` indicates that a legacy custom time zone was set in desktop Outlook. @return self @var string
setOriginalStartTimeZone
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getOriginalEndTimeZone() { return $this->getProperty("OriginalEndTimeZone"); }
The end time zone that was set when the event was created. A value of `tzone://Microsoft/Custom` indicates that a legacy custom time zone was set in desktop Outlook. @return string
getOriginalEndTimeZone
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setOriginalEndTimeZone($value) { $this->setProperty("OriginalEndTimeZone", $value, true); }
The end time zone that was set when the event was created. A value of `tzone://Microsoft/Custom` indicates that a legacy custom time zone was set in desktop Outlook. @var string
setOriginalEndTimeZone
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getICalUId() { return $this->getProperty("ICalUId"); }
A unique identifier that is shared by all instances of an event across different calendars. Read-only. @return string
getICalUId
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setICalUId($value) { $this->setProperty("ICalUId", $value, true); }
A unique identifier that is shared by all instances of an event across different calendars. Read-only. @var string
setICalUId
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getReminderMinutesBeforeStart() { return $this->getProperty("ReminderMinutesBeforeStart"); }
The number of minutes before the event start time that the reminder alert occurs. @return integer
getReminderMinutesBeforeStart
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setReminderMinutesBeforeStart($value) { $this->setProperty("ReminderMinutesBeforeStart", $value, true); }
The number of minutes before the event start time that the reminder alert occurs. @var integer
setReminderMinutesBeforeStart
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getIsReminderOn() { return $this->getProperty("IsReminderOn"); }
Set to true if an alert is set to remind the user of the event. @return bool
getIsReminderOn
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setIsReminderOn($value) { $this->setProperty("IsReminderOn", $value, true); }
Set to true if an alert is set to remind the user of the event. @var bool
setIsReminderOn
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getHasAttachments() { return $this->getProperty("HasAttachments"); }
Set to true if the event has attachments. @return bool
getHasAttachments
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setHasAttachments($value) { $this->setProperty("HasAttachments", $value, true); }
Set to true if the event has attachments. @var bool
setHasAttachments
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getSubject() { return $this->getProperty("Subject"); }
The text of the event's subject line. @return string
getSubject
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setSubject($value) { $this->setProperty("Subject", $value, true); }
The text of the event's subject line. @var string
setSubject
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getBodyPreview() { return $this->getProperty("BodyPreview"); }
The preview of the message associated with the event. It is in text format. @return string
getBodyPreview
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setBodyPreview($value) { return $this->setProperty("BodyPreview", $value, true); }
The preview of the message associated with the event. It is in text format. @return self @var string
setBodyPreview
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getIsAllDay() { return $this->getProperty("IsAllDay"); }
Set to true if the event lasts all day. @return bool
getIsAllDay
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setIsAllDay($value) { $this->setProperty("IsAllDay", $value, true); }
Set to true if the event lasts all day. @var bool
setIsAllDay
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getIsCancelled() { return $this->getProperty("IsCancelled"); }
Set to true if the event has been canceled. @return bool
getIsCancelled
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setIsCancelled($value) { $this->setProperty("IsCancelled", $value, true); }
Set to true if the event has been canceled. @var bool
setIsCancelled
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getIsOrganizer() { return $this->getProperty("IsOrganizer"); }
Set to true if the calendar owner (specified by the **owner** property of the [calendar](calendar.md)) is the organizer of the event (specified by the **organizer** property of the **event**). This also applies if a delegate organized the event on behalf of the owner. @return bool
getIsOrganizer
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setIsOrganizer($value) { $this->setProperty("IsOrganizer", $value, true); }
Set to true if the calendar owner (specified by the **owner** property of the [calendar](calendar.md)) is the organizer of the event (specified by the **organizer** property of the **event**). This also applies if a delegate organized the event on behalf of the owner. @var bool
setIsOrganizer
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getResponseRequested() { return $this->getProperty("ResponseRequested"); }
Set to true if the sender would like a response when the event is accepted or declined. @return bool
getResponseRequested
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setResponseRequested($value) { $this->setProperty("ResponseRequested", $value, true); }
Set to true if the sender would like a response when the event is accepted or declined. @var bool
setResponseRequested
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getSeriesMasterId() { return $this->getProperty("SeriesMasterId"); }
The ID for the recurring series master item, if this event is part of a recurring series. @return string
getSeriesMasterId
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setSeriesMasterId($value) { $this->setProperty("SeriesMasterId", $value, true); }
The ID for the recurring series master item, if this event is part of a recurring series. @var string
setSeriesMasterId
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getOrganizer() { return $this->getProperty("Organizer", new Recipient()); }
The organizer of the event. @return Recipient
getOrganizer
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setOrganizer($value) { $this->setProperty("Organizer", $value, true); }
The organizer of the event. @var Recipient
setOrganizer
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getWebLink() { return $this->getProperty("WebLink"); }
The URL to open the event in Outlook on the web.<br/><br/>Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.<br/><br/>This URL can be accessed from within an iFrame. @return string
getWebLink
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setWebLink($value) { $this->setProperty("WebLink", $value, true); }
The URL to open the event in Outlook on the web.<br/><br/>Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.<br/><br/>This URL can be accessed from within an iFrame. @var string
setWebLink
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getOnlineMeetingUrl() { return $this->getProperty("OnlineMeetingUrl"); }
A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. @return string
getOnlineMeetingUrl
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setOnlineMeetingUrl($value) { $this->setProperty("OnlineMeetingUrl", $value, true); }
A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. @var string
setOnlineMeetingUrl
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getStart() { return $this->getProperty("Start", new DateTimeTimeZone()); }
The date, time, and time zone that the event starts. By default, the start time is in UTC. @return DateTimeTimeZone
getStart
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setStart($value) { return $this->setProperty("Start", $value, true); }
The date, time, and time zone that the event starts. By default, the start time is in UTC. @return self @var DateTimeTimeZone
setStart
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getEnd() { return $this->getProperty("End", new DateTimeTimeZone()); }
The date, time, and time zone that the event ends. By default, the end time is in UTC. @return DateTimeTimeZone
getEnd
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setEnd($value) { $this->setProperty("End", $value, true); }
The date, time, and time zone that the event ends. By default, the end time is in UTC. @var DateTimeTimeZone
setEnd
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getCalendar() { return $this->getProperty("Calendar", new Calendar($this->getContext(), new ResourcePath("Calendar", $this->getResourcePath()))); }
The calendar that contains the event. Navigation property. Read-only. @return Calendar
getCalendar
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getResponseStatus() { return $this->getProperty("ResponseStatus", new ResponseStatus()); }
Indicates the type of response sent in response to an event message. @return ResponseStatus
getResponseStatus
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setResponseStatus($value) { $this->setProperty("ResponseStatus", $value, true); }
Indicates the type of response sent in response to an event message. @var ResponseStatus
setResponseStatus
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getBody() { return $this->getProperty("Body", new ItemBody()); }
The body of the message associated with the event. It can be in HTML or text format. @return ItemBody
getBody
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setBody($value) { $this->setProperty("Body", $value, true); }
The body of the message associated with the event. It can be in HTML or text format. @var ItemBody
setBody
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getLocation() { return $this->getProperty("Location", new Location()); }
The location of the event. @return Location
getLocation
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setLocation($value) { return $this->setProperty("Location", $value); }
The location of the event. @return self @var Location
setLocation
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getRecurrence() { return $this->getProperty("Recurrence", new PatternedRecurrence()); }
The recurrence pattern for the event. @return PatternedRecurrence
getRecurrence
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setRecurrence($value) { $this->setProperty("Recurrence", $value, true); }
The recurrence pattern for the event. @var PatternedRecurrence
setRecurrence
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getIsOnlineMeeting() { return $this->getProperty("IsOnlineMeeting"); }
`True` if this event has online meeting information, `false` otherwise. Default is false. Optional. @return bool
getIsOnlineMeeting
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setIsOnlineMeeting($value) { $this->setProperty("IsOnlineMeeting", $value, true); }
`True` if this event has online meeting information, `false` otherwise. Default is false. Optional. @var bool
setIsOnlineMeeting
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getAllowNewTimeProposals() { return $this->getProperty("AllowNewTimeProposals"); }
@return bool
getAllowNewTimeProposals
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setAllowNewTimeProposals($value) { $this->setProperty("AllowNewTimeProposals", $value, true); }
@var bool
setAllowNewTimeProposals
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getAttendees() { return $this->getProperty("Attendees", new ClientValueCollection(Attendee::class)); }
@return ClientValueCollection
getAttendees
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function setAttendees($values) { $values = array_map(function ($value) { if ($value instanceof EmailAddress) return new Attendee($value); else return $value; }, $values); return $this->setProperty("Attendees", ClientValueCollection::fromArray(Attendee::class,$values)); }
@param EmailAddress[]|Attendee[] $values
setAttendees
php
vgrem/phpSPO
src/Outlook/Events/Event.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/Event.php
MIT
public function getEvent() { return $this->getProperty("Event", new Event($this->getContext(), new ResourcePath("Event", $this->getResourcePath()))); }
The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. @return Event
getEvent
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function getIsOutOfDate() { return $this->getProperty("IsOutOfDate"); }
@return bool
getIsOutOfDate
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function setIsOutOfDate($value) { $this->setProperty("IsOutOfDate", $value, true); }
@var bool
setIsOutOfDate
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function getIsAllDay() { return $this->getProperty("IsAllDay"); }
@return bool
getIsAllDay
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function setIsAllDay($value) { $this->setProperty("IsAllDay", $value, true); }
@var bool
setIsAllDay
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function getIsDelegated() { return $this->getProperty("IsDelegated"); }
@return bool
getIsDelegated
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function setIsDelegated($value) { $this->setProperty("IsDelegated", $value, true); }
@var bool
setIsDelegated
php
vgrem/phpSPO
src/Outlook/Events/EventMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Events/EventMessage.php
MIT
public function getAllowDisplay() { if (!$this->isPropertyAvailable("AllowDisplay")) { return null; } return $this->getProperty("AllowDisplay"); }
Specifies whether to display the name of the user in a survey list. @return bool
getAllowDisplay
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function setAllowDisplay($value) { $this->setProperty("AllowDisplay", $value, true); }
Specifies whether to display the name of the user in a survey list. @var bool
setAllowDisplay
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function getPresence() { if (!$this->isPropertyAvailable("Presence")) { return null; } return $this->getProperty("Presence"); }
Specifies whether presence is enabled on the field (2). @return bool
getPresence
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function setPresence($value) { $this->setProperty("Presence", $value, true); }
Specifies whether presence is enabled on the field (2). @var bool
setPresence
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function getSelectionGroup() { if (!$this->isPropertyAvailable("SelectionGroup")) { return null; } return $this->getProperty("SelectionGroup"); }
Specifies the identifier of the group whose members can be selected as values of the field (2). @return integer
getSelectionGroup
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function setSelectionGroup($value) { $this->setProperty("SelectionGroup", $value, true); }
Specifies the identifier of the group whose members can be selected as values of the field (2). @var integer
setSelectionGroup
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function getSelectionMode() { if (!$this->isPropertyAvailable("SelectionMode")) { return null; } return $this->getProperty("SelectionMode"); }
Specifies whether users and groups or only users can be selected. @return integer
getSelectionMode
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function setSelectionMode($value) { $this->setProperty("SelectionMode", $value, true); }
Specifies whether users and groups or only users can be selected. @var integer
setSelectionMode
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function getUserDisplayOptions() { if (!$this->isPropertyAvailable("UserDisplayOptions")) { return null; } return $this->getProperty("UserDisplayOptions"); }
@return string
getUserDisplayOptions
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function setUserDisplayOptions($value) { $this->setProperty("UserDisplayOptions", $value, true); }
@var string
setUserDisplayOptions
php
vgrem/phpSPO
src/SharePoint/FieldUser.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/FieldUser.php
MIT
public function getFlags() { return $this->getProperty("Flags"); }
@return integer
getFlags
php
vgrem/phpSPO
src/SharePoint/UserExperienceState.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/UserExperienceState.php
MIT
public function setFlags($value) { return $this->setProperty("Flags", $value, true); }
@var integer
setFlags
php
vgrem/phpSPO
src/SharePoint/UserExperienceState.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/UserExperienceState.php
MIT
public function getFieldId() { if (!$this->isPropertyAvailable("FieldId")) { return null; } return $this->getProperty("FieldId"); }
@return string
getFieldId
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function setFieldId($value) { $this->setProperty("FieldId", $value, true); }
@var string
setFieldId
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function getListId() { if (!$this->isPropertyAvailable("ListId")) { return null; } return $this->getProperty("ListId"); }
@return string
getListId
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function setListId($value) { $this->setProperty("ListId", $value, true); }
@var string
setListId
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function getRelationshipDeleteBehavior() { if (!$this->isPropertyAvailable("RelationshipDeleteBehavior")) { return null; } return $this->getProperty("RelationshipDeleteBehavior"); }
@return integer
getRelationshipDeleteBehavior
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function setRelationshipDeleteBehavior($value) { $this->setProperty("RelationshipDeleteBehavior", $value, true); }
@var integer
setRelationshipDeleteBehavior
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function getWebId() { if (!$this->isPropertyAvailable("WebId")) { return null; } return $this->getProperty("WebId"); }
@return string
getWebId
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function setWebId($value) { $this->setProperty("WebId", $value, true); }
@var string
setWebId
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function getLookupList() { if (!$this->isPropertyAvailable("LookupList")) { $this->setProperty("LookupList", new SPList($this->getContext(), new ResourcePath("LookupList", $this->getResourcePath()))); } return $this->getProperty("LookupList"); }
Specifies the List that the corresponding Lookup Field looks up to.It MUST NOT be NULL. @return SPList
getLookupList
php
vgrem/phpSPO
src/SharePoint/RelatedField.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/RelatedField.php
MIT
public function uploadFile($name, $content) { $info = new FileCreationInformation(); $info->Url = $name; $info->Content = $content; $info->Overwrite = true; return $this->getFiles()->add($info); }
Upload a file under Folder @param string $name @param string $content @return File
uploadFile
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function rename($name) { $item = $this->getListItemAllFields(); $item->setProperty('Title', $name); $item->setProperty('FileLeafRef', $name); $item->update(); return $this; }
Rename a file @param string $name @return Folder
rename
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function recycle() { $qry = new InvokePostMethodQuery($this, "recycle"); $this->getContext()->addQuery($qry); return $this; }
Moves the list folder to the Recycle Bin and returns the identifier of the new Recycle Bin item. @return Folder
recycle
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getFiles() { return $this->getProperty("Files", new FileCollection($this->getContext(), new ResourcePath("Files", $this->getResourcePath()))); }
Gets the collection of all files contained in the list folder. You can add a file to a folder by using the Add method on the folder’s FileCollection resource. @return FileCollection
getFiles
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getFolders() { return $this->getProperty("Folders", new FolderCollection($this->getContext(), new ResourcePath("folders", $this->getResourcePath()))); }
Gets the collection of list folders contained in the list folder. @return FolderCollection
getFolders
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getListItemAllFields() { return $this->getProperty("ListItemAllFields", new ListItem($this->getContext(), new ResourcePath("ListItemAllFields", $this->getResourcePath()))); }
Specifies the list item field (2) values for the list item corresponding to the folder. @return ListItem
getListItemAllFields
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
function setProperty($name, $value, $persistChanges = true) { if ($name == "UniqueId") { $this->resourcePath = $this->getContext()->getWeb()->getFolderById($value)->getResourcePath(); } parent::setProperty($name, $value, $persistChanges); return $this; }
@param string $name @param mixed $value @param bool $persistChanges @return Folder
setProperty
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function getExists() { return $this->getProperty("Exists"); }
Gets a Boolean value that indicates whether the folder exists. @return bool
getExists
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT
public function setExists($value) { $this->setProperty("Exists", $value, true); }
Gets a Boolean value that indicates whether the folder exists. @var bool
setExists
php
vgrem/phpSPO
src/SharePoint/Folder.php
https://github.com/vgrem/phpSPO/blob/master/src/SharePoint/Folder.php
MIT