Files
Phraseanet/lib/classes/metadata/description/IFD0/Orientation.class.php
Romain Neutron 4c5b7eb658 V 3.5 RC 1
2011-12-05 00:23:28 +01:00

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'
);
}
}