/** * Returns or constructs the data factory * @return IMediaDataFactory */ public static function factory() { if (!self::$_instance) { self::$_instance = new self::$cache_class(); } return self::$_instance; }
/** * Retrieves the extracted media information for this file * @return IMediaFileInformation The extracted media file information */ public function MediaData() { return MediaDataManager::factory()->DataFor($this->owner->FullPath); }
<?php if (MediaDataManager::$auto_load) { MediaDataManager::load(); }