????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.120 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 : /var/www/icad.astacus.se/sharepoint/vendor/vgrem/php-spo/src/SharePoint/ |
Upload File : |
<?php
/**
* This file was generated by phpSPO model generator 2019-11-16T19:13:59+00:00 16.0.19506.12022
*/
namespace Office365\SharePoint;
use Office365\Runtime\ClientObject;
use Office365\Runtime\ResourcePath;
/**
* Represents
* a version of a fileobject
* (1).
*/
class FileVersion extends ClientObject
{
/**
* Specifies
* the check-in comment.It MUST
* NOT be NULL. Its length MUST be equal to or less than 1023.
* @return string
*/
public function getCheckInComment()
{
if (!$this->isPropertyAvailable("CheckInComment")) {
return null;
}
return $this->getProperty("CheckInComment");
}
/**
* Specifies
* the check-in comment.It MUST
* NOT be NULL. Its length MUST be equal to or less than 1023.
* @var string
*/
public function setCheckInComment($value)
{
$this->setProperty("CheckInComment", $value, true);
}
/**
* Specifies
* the creation date and time for the file version.
* @return string
*/
public function getCreated()
{
if (!$this->isPropertyAvailable("Created")) {
return null;
}
return $this->getProperty("Created");
}
/**
* Specifies
* the creation date and time for the file version.
* @var string
*/
public function setCreated($value)
{
$this->setProperty("Created", $value, true);
}
/**
* Gets the
* internal identifier for the file version.
* @return integer
*/
public function getID()
{
if (!$this->isPropertyAvailable("ID")) {
return null;
}
return $this->getProperty("ID");
}
/**
* Gets the
* internal identifier for the file version.
* @var integer
*/
public function setID($value)
{
$this->setProperty("ID", $value, true);
}
/**
* Specifies
* whether the fileversion
* is the current version.
* @return bool
*/
public function getIsCurrentVersion()
{
if (!$this->isPropertyAvailable("IsCurrentVersion")) {
return null;
}
return $this->getProperty("IsCurrentVersion");
}
/**
* Specifies
* whether the fileversion
* is the current version.
* @var bool
*/
public function setIsCurrentVersion($value)
{
$this->setProperty("IsCurrentVersion", $value, true);
}
/**
* Gets the
* length (in bytes) of the file version.
* @return integer
*/
public function getLength()
{
if (!$this->isPropertyAvailable("Length")) {
return null;
}
return $this->getProperty("Length");
}
/**
* Gets the
* length (in bytes) of the file version.
* @var integer
*/
public function setLength($value)
{
$this->setProperty("Length", $value, true);
}
/**
* Gets the
* size of the file version in bytes.Obsolete.
* Use Length (section 3.2.5.70.1.1.8)
* instead. This will throw an InvalidOperationException for versions
* larger than 2 gigabytes. Use Length instead.
* @return integer
*/
public function getSize()
{
if (!$this->isPropertyAvailable("Size")) {
return null;
}
return $this->getProperty("Size");
}
/**
* Gets the
* size of the file version in bytes.Obsolete.
* Use Length (section 3.2.5.70.1.1.8)
* instead. This will throw an InvalidOperationException for versions
* larger than 2 gigabytes. Use Length instead.
* @var integer
*/
public function setSize($value)
{
$this->setProperty("Size", $value, true);
}
/**
* Specifies
* the relative URL of the file version based on the URL for the site (2)
* or subsite.It MUST
* NOT be empty. It MUST be a URL of relative form.
* @return string
*/
public function getUrl()
{
if (!$this->isPropertyAvailable("Url")) {
return null;
}
return $this->getProperty("Url");
}
/**
* Specifies
* the relative URL of the file version based on the URL for the site (2)
* or subsite.It MUST
* NOT be empty. It MUST be a URL of relative form.
* @var string
*/
public function setUrl($value)
{
$this->setProperty("Url", $value, true);
}
/**
* Specifies
* the implementation-specific identifier of the file.It MUST
* NOT be NULL.
* @return string
*/
public function getVersionLabel()
{
if (!$this->isPropertyAvailable("VersionLabel")) {
return null;
}
return $this->getProperty("VersionLabel");
}
/**
* Specifies
* the implementation-specific identifier of the file.It MUST
* NOT be NULL.
* @var string
*/
public function setVersionLabel($value)
{
$this->setProperty("VersionLabel", $value, true);
}
/**
* Specifies
* the user that represents the person who created the file version.
* @return User
*/
public function getCreatedBy()
{
if (!$this->isPropertyAvailable("CreatedBy")) {
$this->setProperty("CreatedBy", new User($this->getContext(),
new ResourcePath("CreatedBy", $this->getResourcePath())));
}
return $this->getProperty("CreatedBy");
}
}