?
Path : /home/admin/public_html/old/libraries/rokcommon/RokCommon/ |
Current File : /home/admin/public_html/old/libraries/rokcommon/RokCommon/PlatformInfo.php |
<?php /** * @version $Id: PlatformInfo.php 10831 2013-05-29 19:32:17Z btowles $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ interface RokCommon_PlatformInfo { /** * Returns the URL for a given file based on the full file path passed in * * @param $filepath * * @return string */ public function getUrlForPath($filepath); /** * @abstract * * @param bool $admin * * @return string the name of the current template */ public function getDefaultTemplate($admin = false); /** * @abstract * * @param bool $admin * * @return string the path to the current template/theme root */ public function getDefaultTemplatePath($admin = false); /** * @abstract * @return string the path to the current platform root */ public function getRootPath(); /** * @abstract * * @param RokCommon_Service_Container $container */ public function setPlatformParameters(RokCommon_Service_Container &$container); /** * @abstract * @return string */ public function getInstanceId(); }