\FileDataExtension
Provides extra functionality to File.
Add this extension to a File instance
by adding this to your _config.php:
Object::add_extension('File', 'FileDataExtension');
- Author: arillo
Synopsis
class FileDataExtension
extends DataExtension
{
- // methods
- public string appCategory()
- public Datetime FileCreationDate()
Hierarchy
Extends
- DataExtension
Methods
public
- FileCreationDate() — Reads and returns the creation date of the file.
- appCategory() — Returns the application category this file belongs to.