Lines Matching defs:TplUtility
3 use ComboStrap\TplUtility;
6 require_once(__DIR__ . '/../class/TplUtility.php');
28 TplUtility::reloadConf();
33 * Test the {@link \Combostrap\TplUtility::getStylesheetsForMetadataConfiguration()} function
46 $configurationList = TplUtility::getStylesheetsForMetadataConfiguration();
52 $configurationList = TplUtility::getStylesheetsForMetadataConfiguration();
64 TplUtility::setConf(TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET, $boostrapVersion . TplUtility::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR . $stylesheet);
65 $actualStyleSheet = TplUtility::getStyleSheetConf();
67 $actualBootStrapVersion = TplUtility::getBootStrapVersion();
73 * Test the {@link \Combostrap\TplUtility::buildBootstrapMetas()} function
80 $metas = TplUtility::buildBootstrapMetas($boostrapVersion);
84 TplUtility::setConf(TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET, $boostrapVersion . TplUtility::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR . "16col");
85 $metas = TplUtility::buildBootstrapMetas($boostrapVersion);
89 TplUtility::setConf(TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET, $boostrapVersion . TplUtility::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR . "simplex");
90 $metas = TplUtility::buildBootstrapMetas($boostrapVersion);
106 $metas = TplUtility::buildBootstrapMetas($boostrapVersion);
111 TplUtility::setConf(TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET, $boostrapVersion . TplUtility::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR . "simplex");
112 $metas = TplUtility::buildBootstrapMetas($boostrapVersion);
121 * Testing the {@link TplUtility::renderSlot()}
133 $data = TplUtility::renderSlot($sidebarName);
156 // * (Not done normally due to the hard coded constant DOKU_DATA. See more at {@link TplUtility::updateConfiguration()}
159 // $_REQUEST[TplUtility::COMBO_TEST_UPDATE] = true;
165 // $oldConf = TplUtility::CONF_HEADER_OLD;
166 // $expectedValue = TplUtility::CONF_HEADER_OLD_VALUE;
170 // $strapKey = TplUtility::CONF_HEADER_SLOT_PAGE_NAME;
172 // $value = TplUtility::getHeaderSlotPageName();
199 // * See {@link TplUtility::updateConfiguration()} for information
201 // unset($_REQUEST[TplUtility::COMBO_TEST_UPDATE]);
212 // * (Not done normally due to the hard coded constant DOKU_DATA. See more at {@link TplUtility::updateConfiguration()}
215 // $_REQUEST[TplUtility::COMBO_TEST_UPDATE] = true;
219 // $strapKey = TplUtility::CONF_HEADER_SLOT_PAGE_NAME;
221 // $value = TplUtility::getHeaderSlotPageName();
247 // * See {@link TplUtility::updateConfiguration()} for information
249 // unset($_REQUEST[TplUtility::COMBO_TEST_UPDATE]);