Skip to content

Commit 5d3f7cc

Browse files
committed
Add getHtmlComponent method
1 parent 87a0c27 commit 5d3f7cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Ajax/common/BaseGui.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,8 @@ public function compileHtml(JsUtils $js = NULL, &$view = NULL) {
8989
public function matchHtmlComponents($callback) {
9090
return array_filter($this->htmlComponents, $callback);
9191
}
92+
93+
public function getHtmlComponent($identifier){
94+
return $this->htmlComponents[$identifier]??'';
95+
}
9296
}

0 commit comments

Comments
 (0)