DocumentProperties
in package
PHPProject_DocumentProperties
Tags
Table of Contents
Constants
- PROPERTY_TYPE_BOOLEAN : mixed = 'b'
- constants
- PROPERTY_TYPE_DATE : mixed = 'd'
- PROPERTY_TYPE_FLOAT : mixed = 'f'
- PROPERTY_TYPE_INTEGER : mixed = 'i'
- PROPERTY_TYPE_STRING : mixed = 's'
- PROPERTY_TYPE_UNKNOWN : mixed = 'u'
Properties
- $category : string
- Category
- $company : string
- Company
- $created : int
- Created
- $creator : string
- Creator
- $customProperties : array<string, array{value: mixed, type: string}>
- Custom Properties
- $description : string
- Description
- $keywords : string
- Keywords
- $lastModifiedBy : string
- LastModifiedBy
- $manager : string
- Manager
- $modified : int
- Modified
- $subject : string
- Subject
- $title : string
- Title
Methods
- __construct() : mixed
- Create a new PHPProject_DocumentProperties
- convertProperty() : mixed
- convertPropertyType() : string
- getCategory() : string
- Get Category
- getCompany() : string
- Get Company
- getCreated() : int
- Get Created
- getCreator() : string
- Get Creator
- getCustomProperties() : array<string|int, string>
- Get a List of Custom Property Names
- getCustomPropertyType() : string|null
- Get a Custom Property Type
- getCustomPropertyValue() : string|null
- Get a Custom Property Value
- getDescription() : string
- Get Description
- getKeywords() : string
- Get Keywords
- getLastModifiedBy() : string
- Get Last Modified By
- getManager() : string
- Get Manager
- getModified() : int
- Get Modified
- getSubject() : string
- Get Subject
- getTitle() : string
- Get Title
- isCustomPropertySet() : bool
- Check if a Custom Property is defined
- setCategory() : self
- Set Category
- setCompany() : self
- Set Company
- setCreated() : self
- Set Created
- setCreator() : self
- Set Creator
- setCustomProperty() : self
- Set a Custom Property
- setDescription() : self
- Set Description
- setKeywords() : self
- Set Keywords
- setLastModifiedBy() : self
- Set Last Modified By
- setManager() : self
- Set Manager
- setModified() : self
- Set Modified
- setSubject() : self
- Set Subject
- setTitle() : self
- Set Title
Constants
PROPERTY_TYPE_BOOLEAN
constants
public
mixed
PROPERTY_TYPE_BOOLEAN
= 'b'
PROPERTY_TYPE_DATE
public
mixed
PROPERTY_TYPE_DATE
= 'd'
PROPERTY_TYPE_FLOAT
public
mixed
PROPERTY_TYPE_FLOAT
= 'f'
PROPERTY_TYPE_INTEGER
public
mixed
PROPERTY_TYPE_INTEGER
= 'i'
PROPERTY_TYPE_STRING
public
mixed
PROPERTY_TYPE_STRING
= 's'
PROPERTY_TYPE_UNKNOWN
public
mixed
PROPERTY_TYPE_UNKNOWN
= 'u'
Properties
$category
Category
private
string
$category
= ''
$company
Company
private
string
$company
= ''
$created
Created
private
int
$created
$creator
Creator
private
string
$creator
= ''
$customProperties
Custom Properties
private
array<string, array{value: mixed, type: string}>
$customProperties
= array()
$description
Description
private
string
$description
= ''
$keywords
Keywords
private
string
$keywords
= ''
$lastModifiedBy
LastModifiedBy
private
string
$lastModifiedBy
$manager
Manager
private
string
$manager
= ''
$modified
Modified
private
int
$modified
$subject
Subject
private
string
$subject
= ''
$title
Title
private
string
$title
= ''
Methods
__construct()
Create a new PHPProject_DocumentProperties
public
__construct() : mixed
convertProperty()
public
static convertProperty(string $propertyValue, string $propertyType) : mixed
Parameters
- $propertyValue : string
- $propertyType : string
convertPropertyType()
public
static convertPropertyType(string $propertyType) : string
Parameters
- $propertyType : string
Return values
stringgetCategory()
Get Category
public
getCategory() : string
Return values
stringgetCompany()
Get Company
public
getCompany() : string
Return values
stringgetCreated()
Get Created
public
getCreated() : int
Return values
intgetCreator()
Get Creator
public
getCreator() : string
Return values
stringgetCustomProperties()
Get a List of Custom Property Names
public
getCustomProperties() : array<string|int, string>
Return values
array<string|int, string>getCustomPropertyType()
Get a Custom Property Type
public
getCustomPropertyType(string $propertyName) : string|null
Parameters
- $propertyName : string
Return values
string|nullgetCustomPropertyValue()
Get a Custom Property Value
public
getCustomPropertyValue(string $propertyName) : string|null
Parameters
- $propertyName : string
Return values
string|nullgetDescription()
Get Description
public
getDescription() : string
Return values
stringgetKeywords()
Get Keywords
public
getKeywords() : string
Return values
stringgetLastModifiedBy()
Get Last Modified By
public
getLastModifiedBy() : string
Return values
stringgetManager()
Get Manager
public
getManager() : string
Return values
stringgetModified()
Get Modified
public
getModified() : int
Return values
intgetSubject()
Get Subject
public
getSubject() : string
Return values
stringgetTitle()
Get Title
public
getTitle() : string
Return values
stringisCustomPropertySet()
Check if a Custom Property is defined
public
isCustomPropertySet(string $propertyName) : bool
Parameters
- $propertyName : string
Return values
boolsetCategory()
Set Category
public
setCategory([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetCompany()
Set Company
public
setCompany([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetCreated()
Set Created
public
setCreated([int|string|null $pValue = null ]) : self
Parameters
- $pValue : int|string|null = null
Return values
selfsetCreator()
Set Creator
public
setCreator([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetCustomProperty()
Set a Custom Property
public
setCustomProperty(string $propertyName[, mixed $propertyValue = '' ][, string $propertyType = null ]) : self
Parameters
- $propertyName : string
- $propertyValue : mixed = ''
- $propertyType : string = null
-
'i': Integer 'f': Floating Point 's': String 'd': Date/Time 'b': Boolean
Return values
selfsetDescription()
Set Description
public
setDescription([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetKeywords()
Set Keywords
public
setKeywords([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetLastModifiedBy()
Set Last Modified By
public
setLastModifiedBy([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetManager()
Set Manager
public
setManager([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetModified()
Set Modified
public
setModified([int|string|null $pValue = null ]) : self
Parameters
- $pValue : int|string|null = null
Return values
selfsetSubject()
Set Subject
public
setSubject([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''
Return values
selfsetTitle()
Set Title
public
setTitle([string $pValue = '' ]) : self
Parameters
- $pValue : string = ''