Skip to content

Commit 8a5275f

Browse files
committed
Update UIService.php
1 parent 03b7214 commit 8a5275f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Ajax/php/ubiquity/UIService.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* This class is part of phpMv-UI
1010
*
1111
* @author jc
12-
* @version 1.0.0
12+
* @version 1.0.1
1313
*
1414
*/
1515
class UIService {
@@ -25,5 +25,13 @@ public function __construct(Controller $controller) {
2525
$this->controller = $controller;
2626
$this->semantic = $this->jquery->semantic();
2727
}
28+
29+
public function renderView(string $viewName,array $parameters=[],bool $asString=false){
30+
return $this->jquery->renderView($viewName,$parameters,$asString);
31+
}
32+
33+
public function compile(){
34+
echo $this->jquery->compile();
35+
}
2836
}
2937

0 commit comments

Comments
 (0)