Home
last modified time | relevance | path

Searched refs:Snippet (Results 1 – 15 of 15) sorted by relevance

/template/strap/ComboStrap/
H A DSnippetSystem.php67 * @param Snippet[] $snippets
90 * @return Snippet[] of node type and an array of array of html attributes
94 return Snippet::getSnippets();
98 * @return Snippet[] - the slot snippets (not the request snippet)
102 $snippets = Snippet::getSnippets();
105 if ($snippet->hasSlot(Snippet::REQUEST_SCOPE)) {
129 * @return null|Snippet[]
137 $snippets[] = Snippet::createFromJson($element)
147 * @return Snippet a snippet not in a slot
152 function &attachCssInternalStyleSheet($componentId, string $script = null): Snippet
[all …]
H A DSnippet.php38 class Snippet implements JsonSerializable class
178 public static function createCssSnippetFromComponentId($componentId): Snippet
180 return Snippet::createSnippetFromComponentId($componentId, self::EXTENSION_CSS);
186 public static function createSnippetFromComponentId($componentId, $type): Snippet
189 return Snippet::createSnippetFromPath($path)
199 * @return Snippet
201 … public static function getOrCreateFromComponentId(string $componentId, string $extension): Snippet
220 * @return Snippet[]
235 * @return Snippet
237 public static function createSnippet(Path $path): Snippet
[all …]
H A DBootstrap.php28 private Snippet $jquerySnippet;
29 private Snippet $jsSnippet;
30 private Snippet $popperSnippet;
31 private Snippet $cssSnippet;
219 public function getCssSnippet(): Snippet
228 * @return Snippet[] the js snippets in order
267 …$bootstrapJsonFile = WikiPath::createComboResource(Snippet::LIBRARY_BASE . ":bootstrap:bootstrapJa…
288 $snippet = Snippet::createSnippet($path)
310 case Snippet::EXTENSION_JS:
327 case Snippet::EXTENSION_CSS:
[all …]
H A DFetcherMarkup.php106 * @var Snippet[]
459 * @return Snippet[]
472 $nativeSnippets[] = Snippet::createFromJson($snippet);
862 * @return Snippet[]
883 * @return Snippet[]
918 * @param Snippet $snippet
921 public function addSnippet(Snippet $snippet): FetcherMarkup
H A DIdentityFormsHelper.php159 $loginCss = Snippet::createCssSnippetFromComponentId($componentId);
H A DFetcherRailBar.php214 return Snippet::getClassFromComponentId(self::CANONICAL);
H A DTemplateForWebPage.php689 …$model['head-html'] .= Snippet::getOrCreateFromComponentId("toast", Snippet::EXTENSION_JS)->toXhtm…
H A DExecutionContext.php768 $this->closeAndRemoveRuntimeVariableIfExists(Snippet::CANONICAL);
/template/strap/ComboStrap/Tag/
H A DSubscribeTag.php14 use ComboStrap\Snippet; alias
44 ->setFormat(Snippet::IIFE_FORMAT);
/template/strap/resources/
H A DREADME.md12 * `snippet` : Snippet are javascript or css needed for a component
/template/strap/lang/en/
H A Dsettings.php41 use ComboStrap\Snippet; alias
314 $lang[Snippet::CONF_USE_CDN] = PluginUtility::getDocumentationHyperLink(Snippet::CANONICAL, "Cdn") …
/template/strap/conf/
H A Ddefault.php35 use ComboStrap\Snippet; alias
H A Dmetadata.php43 use ComboStrap\Snippet; alias
385 $meta[Snippet::CONF_USE_CDN] = array('onoff');
/template/strap/action/
H A Dregistration.php14 use ComboStrap\Snippet; alias
/template/strap/
H A Ddeleted.files99 class/Snippet.php