File content/formatting/parser/FormattingParser.class.php
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56:
<?php
/**
* @package Content
* @subpackage Formatting\parser
* @copyright © 2005-2019 PHPBoost
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0
* @author Benoit SAUTEL <ben.popeye@phpboost.com>
* @version PHPBoost 5.2 - last update: 2014 12 22
* @since PHPBoost 3.0 - 2009 12 20
*/
interface FormattingParser
{
/**
* Parses the content of the parser.
*/
function parse();
/**
* Returns the content of the parser. If you called a method which parses the content, this content will be parsed.
* @return string The content of the parser.
*/
function get_content();
/**
* Sets the content of the parser. When you will call a parse method, it will deal with this content.
* @param string $content Content
*/
function set_content($content);
/**
* Sets the reference path for relative URL
* @param string $path Path
*/
function set_path_to_root($path);
/**
* Returns the path to root attribute.
* @return string The path
*/
function get_path_to_root();
/**
* Sets the page path
* @param string $page_path Page path
*/
function set_page_path($page_path);
/**
* Returns the page path
* @return string path
*/
function get_page_path();
}
?>