Lines Matching refs:componentId
145 * @param $componentId
152 function &attachCssInternalStyleSheet($componentId, string $script = null): Snippet
154 $snippet = Snippet::getOrCreateFromComponentId($componentId, Snippet::EXTENSION_CSS);
163 * @param $componentId
167 public function attachJavascriptFromComponentId($componentId, string $script = null): Snippet
169 $snippet = Snippet::getOrCreateFromComponentId($componentId, Snippet::EXTENSION_JS);
183 function attachInternalJavascriptFromPathForRequest($componentId, Path $path): Snippet
187 ->setComponentId($componentId);
192 * @param $componentId
195 public function getSnippetsForComponent($componentId): array
200 if ($snippet->getComponentId() === $componentId) {
213 * @param $componentId
216 public function hasSnippetsForComponent($componentId): bool
218 return count($this->getSnippetsForComponent($componentId)) > 0;
222 * @param $componentId
228 function attachSnippetFromRequest($componentId, $type): Snippet
230 return Snippet::getOrCreateFromComponentId($componentId, $type)
267 $componentId = "combo";
268 return $this->attachSnippetFromComboResourceDrive($wikiPath, $componentId);
272 public function attachSnippetFromComboResourceDrive(string $pathFromComboDrive, string $componentId): Snippet
277 ->setComponentId($componentId);
286 function attachRemoteJavascriptLibrary(string $componentId, string $url, string $integrity = null): Snippet
291 ->setComponentId($componentId);
297 * @param string $componentId
303 function attachRemoteJavascriptLibraryFromLiteral(string $componentId, string $url, string $integrity = null): Snippet
309 ->setComponentId($componentId);
317 * @param string $componentId - the component id attached to this URL
326 function attachRemoteCssStyleSheet(string $componentId, string $url, string $integrity = null): Snippet
333 ->setComponentId($componentId);
339 * @param string $componentId
345 function attachRemoteCssStyleSheetFromLiteral(string $componentId, string $url, string $integrity = null): Snippet
352 ->setComponentId($componentId);