Lines Matching refs:componentId

144      * @param $componentId
151 function &attachCssInternalStyleSheet($componentId, string $script = null): Snippet
153 $snippet = Snippet::getOrCreateFromComponentId($componentId, Snippet::EXTENSION_CSS);
162 * @param $componentId
166 public function attachJavascriptFromComponentId($componentId, string $script = null): Snippet
168 $snippet = Snippet::getOrCreateFromComponentId($componentId, Snippet::EXTENSION_JS);
182 function attachInternalJavascriptFromPathForRequest($componentId, Path $path): Snippet
186 ->setComponentId($componentId);
191 * @param $componentId
194 public function getSnippetsForComponent($componentId): array
199 if ($snippet->getComponentId() === $componentId) {
212 * @param $componentId
215 public function hasSnippetsForComponent($componentId): bool
217 return count($this->getSnippetsForComponent($componentId)) > 0;
221 * @param $componentId
227 function attachSnippetFromRequest($componentId, $type): Snippet
229 return Snippet::getOrCreateFromComponentId($componentId, $type)
266 $componentId = "combo";
267 return $this->attachSnippetFromComboResourceDrive($wikiPath, $componentId);
271 public function attachSnippetFromComboResourceDrive(string $pathFromComboDrive, string $componentId): Snippet
276 ->setComponentId($componentId);
285 function attachRemoteJavascriptLibrary(string $componentId, string $url, string $integrity = null): Snippet
290 ->setComponentId($componentId);
294 * @param string $componentId - the component id attached to this URL
303 function attachRemoteCssStyleSheet(string $componentId, string $url, string $integrity = null): Snippet
310 ->setComponentId($componentId);