2021-07-18 20:58:50 +02:00
|
|
|
<?php
|
|
|
|
namespace Vimeo;
|
|
|
|
|
|
|
|
use Omeka\Module\AbstractModule;
|
|
|
|
use Laminas\EventManager\SharedEventManagerInterface;
|
|
|
|
use Laminas\Mvc\MvcEvent;
|
|
|
|
|
|
|
|
class Module extends AbstractModule
|
|
|
|
{
|
|
|
|
const NAMESPACE = __NAMESPACE__;
|
|
|
|
|
2021-07-30 13:20:46 +02:00
|
|
|
const IMAGE_WIDTH = [
|
|
|
|
'25' => '25 %',
|
|
|
|
'50' => '50 %',
|
|
|
|
'75' => '75 %',
|
|
|
|
'100' => '100 %',
|
|
|
|
];
|
|
|
|
/*
|
2021-07-18 20:58:50 +02:00
|
|
|
const RATIOS = [
|
|
|
|
'1.777' => '16:9',
|
|
|
|
'1.333' => '4:3',
|
|
|
|
'2' => '2:1',
|
|
|
|
];
|
2021-07-30 13:20:46 +02:00
|
|
|
*/
|
2021-07-18 20:58:50 +02:00
|
|
|
public function getConfig()
|
|
|
|
{
|
|
|
|
return include __DIR__ . '/config/module.config.php';
|
|
|
|
}
|
|
|
|
}
|