Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]

(no description)

File Size: 632 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

Properties:: (30 methods):
  __construct()
  getCreator()
  setCreator()
  getLastModifiedBy()
  setLastModifiedBy()
  getCreated()
  setCreated()
  getModified()
  setModified()
  getTitle()
  setTitle()
  getDescription()
  setDescription()
  getSubject()
  setSubject()
  getKeywords()
  setKeywords()
  getCategory()
  setCategory()
  getCompany()
  setCompany()
  getManager()
  setManager()
  getCustomProperties()
  isCustomPropertySet()
  getCustomPropertyValue()
  getCustomPropertyType()
  setCustomProperty()
  __clone()
  convertProperty()

ID:: (1 method):
  convertPropertyType()

ID:: (1 method):
  convertPropertyType()


Class: Properties  - X-Ref

__construct()   X-Ref
Create a new Document Properties instance.


getCreator()   X-Ref
Get Creator.

return: string

setCreator($creator)   X-Ref
Set Creator.

param: string $creator
return: $this

getLastModifiedBy()   X-Ref
Get Last Modified By.

return: string

setLastModifiedBy($pValue)   X-Ref
Set Last Modified By.

param: string $pValue
return: $this

getCreated()   X-Ref
Get Created.

return: int

setCreated($time)   X-Ref
Set Created.

param: int|string $time
return: $this

getModified()   X-Ref
Get Modified.

return: int

setModified($time)   X-Ref
Set Modified.

param: int|string $time
return: $this

getTitle()   X-Ref
Get Title.

return: string

setTitle($title)   X-Ref
Set Title.

param: string $title
return: $this

getDescription()   X-Ref
Get Description.

return: string

setDescription($description)   X-Ref
Set Description.

param: string $description
return: $this

getSubject()   X-Ref
Get Subject.

return: string

setSubject($subject)   X-Ref
Set Subject.

param: string $subject
return: $this

getKeywords()   X-Ref
Get Keywords.

return: string

setKeywords($keywords)   X-Ref
Set Keywords.

param: string $keywords
return: $this

getCategory()   X-Ref
Get Category.

return: string

setCategory($category)   X-Ref
Set Category.

param: string $category
return: $this

getCompany()   X-Ref
Get Company.

return: string

setCompany($company)   X-Ref
Set Company.

param: string $company
return: $this

getManager()   X-Ref
Get Manager.

return: string

setManager($manager)   X-Ref
Set Manager.

param: string $manager
return: $this

getCustomProperties()   X-Ref
Get a List of Custom Property Names.

return: array of string

isCustomPropertySet($propertyName)   X-Ref
Check if a Custom Property is defined.

param: string $propertyName
return: bool

getCustomPropertyValue($propertyName)   X-Ref
Get a Custom Property Value.

param: string $propertyName
return: mixed

getCustomPropertyType($propertyName)   X-Ref
Get a Custom Property Type.

param: string $propertyName
return: string

setCustomProperty($propertyName, $propertyValue = '', $propertyType = null)   X-Ref
Set a Custom Property.

param: string $propertyName
param: mixed $propertyValue
param: string $propertyType
return: $this

__clone()   X-Ref
Implement PHP __clone to create a deep clone, not just a shallow copy.


convertProperty($propertyValue, $propertyType)   X-Ref
No description

Class: ID  - X-Ref

Class: ID  - X-Ref