phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
UIService.php
Go to the documentation of this file.
1<?php
2namespace Ajax\php\ubiquity;
3
5use Ubiquity\controllers\Controller;
6
15class UIService {
16
17 protected Controller $controller;
18
19 protected JsUtils $jquery;
20
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\php\ubiquity$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