Constants

PROPERTY_TYPE_BOOLEAN

PROPERTY_TYPE_BOOLEAN = 'b'

constants

PROPERTY_TYPE_INTEGER

PROPERTY_TYPE_INTEGER = 'i'

PROPERTY_TYPE_FLOAT

PROPERTY_TYPE_FLOAT = 'f'

PROPERTY_TYPE_DATE

PROPERTY_TYPE_DATE = 'd'

PROPERTY_TYPE_STRING

PROPERTY_TYPE_STRING = 's'

PROPERTY_TYPE_UNKNOWN

PROPERTY_TYPE_UNKNOWN = 'u'

Properties

$creator

$creator : string

Creator.

Type

string

$lastModifiedBy

$lastModifiedBy : string

LastModifiedBy.

Type

string

$created

$created : int

Created.

Type

int

$modified

$modified : int

Modified.

Type

int

$title

$title : string

Title.

Type

string

$description

$description : string

Description.

Type

string

$subject

$subject : string

Subject.

Type

string

$keywords

$keywords : string

Keywords.

Type

string

$category

$category : string

Category.

Type

string

$manager

$manager : string

Manager.

Type

string

$company

$company : string

Company.

Type

string

$customProperties

$customProperties : string

Custom Properties.

Type

string

Methods

__construct()

__construct() : mixed

Create a new Document Properties instance.

Returns

mixed —

getCreator()

getCreator() : string

Get Creator.

Returns

string —

setCreator()

setCreator(string  $creator) : $this

Set Creator.

Parameters

string $creator

Returns

$this —

getLastModifiedBy()

getLastModifiedBy() : string

Get Last Modified By.

Returns

string —

setLastModifiedBy()

setLastModifiedBy(string  $pValue) : $this

Set Last Modified By.

Parameters

string $pValue

Returns

$this —

getCreated()

getCreated() : int

Get Created.

Returns

int —

setCreated()

setCreated(int|string  $time) : $this

Set Created.

Parameters

int|string $time

Returns

$this —

getModified()

getModified() : int

Get Modified.

Returns

int —

setModified()

setModified(int|string  $time) : $this

Set Modified.

Parameters

int|string $time

Returns

$this —

getTitle()

getTitle() : string

Get Title.

Returns

string —

setTitle()

setTitle(string  $title) : $this

Set Title.

Parameters

string $title

Returns

$this —

getDescription()

getDescription() : string

Get Description.

Returns

string —

setDescription()

setDescription(string  $description) : $this

Set Description.

Parameters

string $description

Returns

$this —

getSubject()

getSubject() : string

Get Subject.

Returns

string —

setSubject()

setSubject(string  $subject) : $this

Set Subject.

Parameters

string $subject

Returns

$this —

getKeywords()

getKeywords() : string

Get Keywords.

Returns

string —

setKeywords()

setKeywords(string  $keywords) : $this

Set Keywords.

Parameters

string $keywords

Returns

$this —

getCategory()

getCategory() : string

Get Category.

Returns

string —

setCategory()

setCategory(string  $category) : $this

Set Category.

Parameters

string $category

Returns

$this —

getCompany()

getCompany() : string

Get Company.

Returns

string —

setCompany()

setCompany(string  $company) : $this

Set Company.

Parameters

string $company

Returns

$this —

getManager()

getManager() : string

Get Manager.

Returns

string —

setManager()

setManager(string  $manager) : $this

Set Manager.

Parameters

string $manager

Returns

$this —

getCustomProperties()

getCustomProperties() : array

Get a List of Custom Property Names.

Returns

array —

of string

isCustomPropertySet()

isCustomPropertySet(string  $propertyName) : bool

Check if a Custom Property is defined.

Parameters

string $propertyName

Returns

bool —

getCustomPropertyValue()

getCustomPropertyValue(string  $propertyName) : mixed

Get a Custom Property Value.

Parameters

string $propertyName

Returns

mixed —

getCustomPropertyType()

getCustomPropertyType(string  $propertyName) : string

Get a Custom Property Type.

Parameters

string $propertyName

Returns

string —

setCustomProperty()

setCustomProperty(string  $propertyName, mixed  $propertyValue = '', string  $propertyType = null) : $this

Set a Custom Property.

Parameters

string $propertyName
mixed $propertyValue
string $propertyType

'i' : Integer 'f' : Floating Point 's' : String 'd' : Date/Time 'b' : Boolean

Returns

$this —

__clone()

__clone() : mixed

Implement PHP __clone to create a deep clone, not just a shallow copy.

Returns

mixed —

convertProperty()

convertProperty(mixed  $propertyValue, mixed  $propertyType) : mixed

Parameters

mixed $propertyValue
mixed $propertyType

Returns

mixed —

convertPropertyType()

convertPropertyType(mixed  $propertyType) : mixed

Parameters

mixed $propertyType

Returns

mixed —