[44] | 1 | <?php
|
---|
| 2 | /**
|
---|
| 3 | * Copyright 2006, 2007, 2008, 2009 Eric D. Hough (http://ehough.com)
|
---|
| 4 | *
|
---|
| 5 | * This file is part of TubePress (http://tubepress.org)
|
---|
| 6 | *
|
---|
| 7 | * TubePress is free software: you can redistribute it and/or modify
|
---|
| 8 | * it under the terms of the GNU General Public License as published by
|
---|
| 9 | * the Free Software Foundation, either version 3 of the License, or
|
---|
| 10 | * (at your option) any later version.
|
---|
| 11 | *
|
---|
| 12 | * TubePress is distributed in the hope that it will be useful,
|
---|
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 15 | * GNU General Public License for more details.
|
---|
| 16 | *
|
---|
| 17 | * You should have received a copy of the GNU General Public License
|
---|
| 18 | * along with TubePress. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 19 | *
|
---|
| 20 | */
|
---|
| 21 |
|
---|
| 22 | /**
|
---|
| 23 | * The types of options TubePress can handle
|
---|
| 24 | *
|
---|
| 25 | */
|
---|
| 26 | class org_tubepress_options_Type
|
---|
| 27 | {
|
---|
| 28 | const BOOL = "boolean"; // Yes/No options
|
---|
| 29 | const COLOR = "color"; // An HTML color (6 hex digits)
|
---|
| 30 | const INTEGRAL = "integral"; // A number
|
---|
| 31 | const MODE = "mode"; // A gallery mode
|
---|
| 32 | const ORDER = "order"; // Video sort order
|
---|
| 33 | const PLAYER = "player"; // Shadowbox, popup, etc
|
---|
| 34 | const PLAYER_IMPL = "playerImplementation"; //YouTube, Longtail, etc
|
---|
| 35 | const PLAYLIST = "playlist"; // A YouTube playlist ID
|
---|
| 36 | const QUALITY = "quality"; // Video quality
|
---|
| 37 | const SAFE_SEARCH = "safeSearch"; // a SafeSearch level
|
---|
| 38 | const TEXT = "text"; // Free form text
|
---|
| 39 | const TIME_FRAME = "timeFrame"; // Today, last week, etc
|
---|
| 40 | const YT_USER = "youtubeUser"; // A YouTube username
|
---|
| 41 | }
|
---|