????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 216.73.216.227 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/bin/vendor/vgrem/php-spo/src/SharePoint/WebParts/ |
Upload File : |
<?php /** * This file was generated by phpSPO model generator 2020-08-19T18:22:34+00:00 16.0.20405.12008 */ namespace Office365\SharePoint\WebParts; use Office365\Runtime\ClientValue; use Office365\Runtime\Actions\InvokePostMethodQuery; use Office365\Runtime\ClientObject; use Office365\Runtime\ResourcePath; /** * Provides * operations to access and modify the existing Web Parts on a Web Part * Page, and add new ones to the Web Part Page. */ class LimitedWebPartManager extends ClientObject { /** * Imports a Web Part from a string in the .dwp format * @param string $webPartXml * @return WebPartDefinition */ public function importWebPart($webPartXml) { $payload = new ClientValue(); $payload->setProperty("webPartXml", $webPartXml); $webPartDefinition = new WebPartDefinition($this->getContext()); $qry = new InvokePostMethodQuery($this, "ImportWebPart", null, null, $payload); $this->getContext()->addQueryAndResultObject($qry, $webPartDefinition); return $webPartDefinition; } /** * @return WebPartDefinitionCollection */ public function getWebParts() { if (!$this->isPropertyAvailable('WebParts')) { $this->setProperty("WebParts", new WebPartDefinitionCollection($this->getContext(), new ResourcePath("WebParts", $this->getResourcePath()))); } return $this->getProperty("WebParts"); } /** * Specifies * whether the Web Part Page * contains one or more personalized Web Parts. * Its value * MUST be "true" if both the personalization scope * of the Web Part Page is "User" and the Web Part Page contains one or * more personalized Web Parts; otherwise, it MUST be "false". * @return bool */ public function getHasPersonalizedParts() { if (!$this->isPropertyAvailable("HasPersonalizedParts")) { return null; } return $this->getProperty("HasPersonalizedParts"); } /** * Specifies * whether the Web Part Page * contains one or more personalized Web Parts. * Its value * MUST be "true" if both the personalization scope * of the Web Part Page is "User" and the Web Part Page contains one or * more personalized Web Parts; otherwise, it MUST be "false". * @var bool */ public function setHasPersonalizedParts($value) { $this->setProperty("HasPersonalizedParts", $value, true); } /** * Specifies * the current personalization scope * of the Web Part Page.Its value * MUST be "User" if personalized data is loaded for the Web Parts * on the Web Part Page, or "Shared" if common data for all users is * loaded. * @return integer */ public function getScope() { if (!$this->isPropertyAvailable("Scope")) { return null; } return $this->getProperty("Scope"); } /** * Specifies * the current personalization scope * of the Web Part Page.Its value * MUST be "User" if personalized data is loaded for the Web Parts * on the Web Part Page, or "Shared" if common data for all users is * loaded. * @var integer */ public function setScope($value) { $this->setProperty("Scope", $value, true); } /** * @return bool */ public function getHasWebPartConnections() { if (!$this->isPropertyAvailable("HasWebPartConnections")) { return null; } return $this->getProperty("HasWebPartConnections"); } /** * @var bool */ public function setHasWebPartConnections($value) { $this->setProperty("HasWebPartConnections", $value, true); } }