2015-02-25 06:02:03 +00:00
|
|
|
<?php namespace Cms\Classes;
|
|
|
|
|
|
2017-09-28 04:12:45 +00:00
|
|
|
use System\Classes\MediaLibrary as SystemMediaLibrary;
|
2015-02-25 06:02:03 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Provides abstraction level for the Media Library operations.
|
|
|
|
|
* Implements the library caching features and security checks.
|
|
|
|
|
*
|
|
|
|
|
* @package october\cms
|
|
|
|
|
* @author Alexey Bobkov, Samuel Georges
|
2017-09-28 04:12:45 +00:00
|
|
|
* @deprecated Use System\Classes\MediaLibrary. Remove if year >= 2020.
|
2015-02-25 06:02:03 +00:00
|
|
|
*/
|
2017-09-28 04:12:45 +00:00
|
|
|
class MediaLibrary extends SystemMediaLibrary
|
2015-02-25 06:02:03 +00:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Initialize this singleton.
|
|
|
|
|
*/
|
|
|
|
|
protected function init()
|
|
|
|
|
{
|
2017-09-28 04:12:45 +00:00
|
|
|
traceLog('Class Cms\Classes\MediaLibrary has been deprecated, use System\Classes\MediaLibrary instead.');
|
|
|
|
|
parent::init();
|
2016-03-01 05:50:07 +00:00
|
|
|
}
|
2015-05-03 14:10:30 +00:00
|
|
|
}
|