class Properties (View source)

Constants

PROPERTY_TYPE_BOOLEAN

constants

PROPERTY_TYPE_INTEGER

PROPERTY_TYPE_FLOAT

PROPERTY_TYPE_DATE

PROPERTY_TYPE_STRING

PROPERTY_TYPE_UNKNOWN

Methods

__construct()

Create a new Document Properties instance.

string
getCreator()

Get Creator.

setCreator(string $creator)

Set Creator.

string
getLastModifiedBy()

Get Last Modified By.

setLastModifiedBy(string $pValue)

Set Last Modified By.

int
getCreated()

Get Created.

setCreated(int|string $time)

Set Created.

int
getModified()

Get Modified.

setModified(int|string $time)

Set Modified.

string
getTitle()

Get Title.

setTitle(string $title)

Set Title.

string
getDescription()

Get Description.

setDescription(string $description)

Set Description.

string
getSubject()

Get Subject.

setSubject(string $subject)

Set Subject.

string
getKeywords()

Get Keywords.

setKeywords(string $keywords)

Set Keywords.

string
getCategory()

Get Category.

setCategory(string $category)

Set Category.

string
getCompany()

Get Company.

setCompany(string $company)

Set Company.

string
getManager()

Get Manager.

setManager(string $manager)

Set Manager.

array
getCustomProperties()

Get a List of Custom Property Names.

bool
isCustomPropertySet(string $propertyName)

Check if a Custom Property is defined.

string
getCustomPropertyValue(string $propertyName)

Get a Custom Property Value.

string
getCustomPropertyType(string $propertyName)

Get a Custom Property Type.

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

Set a Custom Property.

__clone()

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

static 
convertProperty($propertyValue, $propertyType)

No description

static 
convertPropertyType($propertyType)

No description

Details

__construct()

Create a new Document Properties instance.

string getCreator()

Get Creator.

Return Value

string

Properties setCreator(string $creator)

Set Creator.

Parameters

string $creator

Return Value

Properties

string getLastModifiedBy()

Get Last Modified By.

Return Value

string

Properties setLastModifiedBy(string $pValue)

Set Last Modified By.

Parameters

string $pValue

Return Value

Properties

int getCreated()

Get Created.

Return Value

int

Properties setCreated(int|string $time)

Set Created.

Parameters

int|string $time

Return Value

Properties

int getModified()

Get Modified.

Return Value

int

Properties setModified(int|string $time)

Set Modified.

Parameters

int|string $time

Return Value

Properties

string getTitle()

Get Title.

Return Value

string

Properties setTitle(string $title)

Set Title.

Parameters

string $title

Return Value

Properties

string getDescription()

Get Description.

Return Value

string

Properties setDescription(string $description)

Set Description.

Parameters

string $description

Return Value

Properties

string getSubject()

Get Subject.

Return Value

string

Properties setSubject(string $subject)

Set Subject.

Parameters

string $subject

Return Value

Properties

string getKeywords()

Get Keywords.

Return Value

string

Properties setKeywords(string $keywords)

Set Keywords.

Parameters

string $keywords

Return Value

Properties

string getCategory()

Get Category.

Return Value

string

Properties setCategory(string $category)

Set Category.

Parameters

string $category

Return Value

Properties

string getCompany()

Get Company.

Return Value

string

Properties setCompany(string $company)

Set Company.

Parameters

string $company

Return Value

Properties

string getManager()

Get Manager.

Return Value

string

Properties setManager(string $manager)

Set Manager.

Parameters

string $manager

Return Value

Properties

array getCustomProperties()

Get a List of Custom Property Names.

Return Value

array of string

bool isCustomPropertySet(string $propertyName)

Check if a Custom Property is defined.

Parameters

string $propertyName

Return Value

bool

string getCustomPropertyValue(string $propertyName)

Get a Custom Property Value.

Parameters

string $propertyName

Return Value

string

string getCustomPropertyType(string $propertyName)

Get a Custom Property Type.

Parameters

string $propertyName

Return Value

string

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

Set a Custom Property.

Parameters

string $propertyName
mixed $propertyValue
string $propertyType 'i' : Integer 'f' : Floating Point 's' : String 'd' : Date/Time 'b' : Boolean

Return Value

Properties

__clone()

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

static convertProperty($propertyValue, $propertyType)

Parameters

$propertyValue
$propertyType

static convertPropertyType($propertyType)

Parameters

$propertyType