phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
UIService.php
Go to the documentation of this file.
1 <?php
2 namespace Ajax\php\ubiquity;
3 
4 use Ajax\Semantic;
6 
15 class UIService {
16 
17  protected Controller $controller;
18 
19  protected JsUtils $jquery;
20 
21  protected Semantic $semantic;
22 
23  public function __construct(Controller $controller) {
24  $this->jquery = $controller->jquery;
25  $this->controller = $controller;
26  $this->semantic = $this->jquery->semantic();
27  }
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  }
36 }
37 
Ajax$UIService This class is part of phpMv-UI.
Definition: UIService.php:15
__construct(Controller $controller)
Definition: UIService.php:23
renderView(string $viewName, array $parameters=[], bool $asString=false)
Definition: UIService.php:29