mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2010 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @package
|
|
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
|
* @link www.phraseanet.com
|
|
*/
|
|
class metadata_description_IFD0_Orientation extends metadata_Abstract implements metadata_Interface
|
|
{
|
|
const SOURCE = '/rdf:RDF/rdf:Description/IFD0:Orientation';
|
|
const NAME_SPACE = 'IFD0';
|
|
const TAGNAME = 'Orientation';
|
|
const MAX_LENGTH = 0;
|
|
const TYPE = self::TYPE_INT16U;
|
|
const MANDATORY = false;
|
|
const MULTI = false;
|
|
const READONLY = false;
|
|
|
|
public static function available_values()
|
|
{
|
|
return array(
|
|
'1' => 'Horizontal (normal)'
|
|
, '2' => 'Mirror horizontal'
|
|
, '3' => 'Rotate 180'
|
|
, '4' => 'Mirror vertical'
|
|
, '5' => 'Mirror horizontal and rotate 270 CW'
|
|
, '6' => 'Rotate 90 CW'
|
|
, '7' => 'Mirror horizontal and rotate 90 CW'
|
|
, '8' => 'Rotate 270 CW'
|
|
);
|
|
}
|
|
|
|
}
|