2015-03-15 19:52:03 +00:00
|
|
|
<?php namespace Cms\Widgets;
|
|
|
|
|
|
2017-10-08 18:52:03 +00:00
|
|
|
use Backend\Widgets\MediaManager as BackendMediaManager;
|
2015-03-15 19:52:03 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Media Manager widget.
|
|
|
|
|
*
|
|
|
|
|
* @package october\cms
|
|
|
|
|
* @author Alexey Bobkov, Samuel Georges
|
2017-09-28 04:23:58 +00:00
|
|
|
* @deprecated Use Backend\Widgets\MediaManager. Remove if year >= 2020.
|
2015-03-15 19:52:03 +00:00
|
|
|
*/
|
2017-10-08 18:52:03 +00:00
|
|
|
class MediaManager extends BackendMediaManager
|
2015-03-15 19:52:03 +00:00
|
|
|
{
|
2017-06-02 10:16:26 +00:00
|
|
|
/**
|
|
|
|
|
* Constructor.
|
|
|
|
|
*/
|
2017-09-28 04:23:58 +00:00
|
|
|
public function __construct()
|
2015-04-12 01:55:02 +00:00
|
|
|
{
|
2018-01-12 06:23:20 +00:00
|
|
|
traceLog('Widget Cms\Widgets\MediaManager has been deprecated, use ' . BackendMediaManager::class . ' instead.');
|
2015-04-12 01:55:02 +00:00
|
|
|
|
2017-09-28 04:23:58 +00:00
|
|
|
$this->assetPath = '/modules/backend/widgets/mediamanager/assets';
|
2017-10-08 18:52:03 +00:00
|
|
|
$this->viewPath = base_path('/modules/backend/widgets/mediamanager/partials');
|
2015-04-12 01:55:02 +00:00
|
|
|
|
2017-09-28 04:23:58 +00:00
|
|
|
parent::__construct(...func_get_args());
|
2015-04-12 01:55:02 +00:00
|
|
|
}
|
2015-08-17 15:35:43 +00:00
|
|
|
}
|