Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

File Size: 629 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: Properties

getLastModifiedBy()   X-Ref
Get Last Modified By.

return: string

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

param: string $pValue
return: Properties

getCreated()   X-Ref
Get Created.

return: int

setCreated($time)   X-Ref
Set Created.

param: int|string $time
return: Properties

getModified()   X-Ref
Get Modified.

return: int

setModified($time)   X-Ref
Set Modified.

param: int|string $time
return: Properties

getTitle()   X-Ref
Get Title.

return: string

setTitle($title)   X-Ref
Set Title.

param: string $title
return: Properties

getDescription()   X-Ref
Get Description.

return: string

setDescription($description)   X-Ref
Set Description.

param: string $description
return: Properties

getSubject()   X-Ref
Get Subject.

return: string

setSubject($subject)   X-Ref
Set Subject.

param: string $subject
return: Properties

getKeywords()   X-Ref
Get Keywords.

return: string

setKeywords($keywords)   X-Ref
Set Keywords.

param: string $keywords
return: Properties

getCategory()   X-Ref
Get Category.

return: string

setCategory($category)   X-Ref
Set Category.

param: string $category
return: Properties

getCompany()   X-Ref
Get Company.

return: string

setCompany($company)   X-Ref
Set Company.

param: string $company
return: Properties

getManager()   X-Ref
Get Manager.

return: string

setManager($manager)   X-Ref
Set Manager.

param: string $manager
return: Properties

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: Properties

__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