Files
Phraseanet/lib/Alchemy/Phrasea/Core/PhraseaTokens.php
2015-02-04 19:53:35 +01:00

31 lines
762 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2014 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\Core;
final class PhraseaTokens
{
const MAKE_SUBDEF = 1;
const WRITE_META_DOC = 1 << 1;
const WRITE_META_SUBDEF = 1 << 2;
const WRITE_META = self::WRITE_META_DOC & self::WRITE_META_SUBDEF;
const TO_INDEX = 1 << 3;
const INDEXING = 1 << 4;
// TODO Replace usages of below constants
const TOKEN_MAKE_SUBDEF = 0x01;
const TOKEN_WRITE_META_DOC = 0x02;
const TOKEN_WRITE_META_SUBDEF = 0x04;
const TOKEN_WRITE_META = 0x06;
const TOKEN_INDEX = 0x08;
const TOKEN_INDEXING = 0x10;
}