Sunnysideup\DMS\Extensions\DMSSiteTreeExtension
Synopsis
class DMSSiteTreeExtension
extends DataExtension
{
- // members
- private static array $has_many = ;
- // methods
- public void updateCMSFields()
- public ArrayList getAllDocuments()
- public void onBeforeDelete()
- public string getTitleWithNumberOfDocuments()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Tasks
Line | Task |
---|---|
90 | UPGRADE: should we really delete the documents, even from the sets? |
Members
private
- $has_many
Methods
public
- getAllDocuments() — Get a list of all documents from all document sets for the owner page
- getTitleWithNumberOfDocuments() — Returns the title of the page with the total number of documents it has associated with it across all document sets
- onBeforeDelete()
- updateCMSFields()