[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 | * Holds the current options for TubePress. This is the default options,
|
---|
| 24 | * usually in persistent storage somewhere, and custom options parsed
|
---|
| 25 | * from a shortcode
|
---|
| 26 | */
|
---|
| 27 | interface org_tubepress_options_manager_OptionsManager
|
---|
| 28 | {
|
---|
| 29 |
|
---|
| 30 | /**
|
---|
| 31 | * Gets the value of an option
|
---|
| 32 | *
|
---|
| 33 | * @param string $optionName The name of the option
|
---|
| 34 | *
|
---|
| 35 | * @return unknown The option value
|
---|
| 36 | */
|
---|
| 37 | public function get($optionName);
|
---|
| 38 |
|
---|
| 39 | /**
|
---|
| 40 | * Enter description here...
|
---|
| 41 | *
|
---|
| 42 | * @param array $customOpts Custom options
|
---|
| 43 | *
|
---|
| 44 | * @return void
|
---|
| 45 | */
|
---|
| 46 | public function setCustomOptions($customOpts);
|
---|
| 47 |
|
---|
| 48 | /**
|
---|
| 49 | * Enter description here...
|
---|
| 50 | *
|
---|
| 51 | * @param array $customOpts Custom options
|
---|
| 52 | *
|
---|
| 53 | * @return void
|
---|
| 54 | */
|
---|
| 55 | public function mergeCustomOptions($customOpts);
|
---|
| 56 |
|
---|
| 57 | /**
|
---|
| 58 | * Enter description here...
|
---|
| 59 | *
|
---|
| 60 | * @param string $newTagString The new shortcode
|
---|
| 61 | *
|
---|
| 62 | * @return void
|
---|
| 63 | */
|
---|
| 64 | public function setShortcode($newTagString);
|
---|
| 65 |
|
---|
| 66 | /**
|
---|
| 67 | * Enter description here...
|
---|
| 68 | *
|
---|
| 69 | * @return string The full shortcode
|
---|
| 70 | */
|
---|
| 71 | public function getShortcode();
|
---|
| 72 | }
|
---|