HuasoFoundries /
phpPgAdmin6
| 1 | <?php |
||
| 2 | |||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 3 | /* |
||
| 4 | * PHPPgAdmin v6.0.0-beta.30 |
||
| 5 | */ |
||
| 6 | |||
| 7 | namespace PHPPgAdmin\Controller; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Base controller class. |
||
| 11 | */ |
||
| 12 | class BrowserController extends BaseController |
||
| 13 | { |
||
| 14 | public $controller_name = 'BrowserController'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Default method to render the controller according to the action parameter. |
||
| 18 | */ |
||
| 19 | public function render() |
||
| 20 | { |
||
| 21 | $lang = $this->lang; |
||
|
0 ignored issues
–
show
|
|||
| 22 | |||
| 23 | $this->misc->setNoDBConnection(true); |
||
| 24 | |||
| 25 | $this->setNoBottomLink(true); |
||
| 26 | |||
| 27 | $viewVars = ['icon' => [ |
||
| 28 | 'blank' => $this->misc->icon('blank'), |
||
| 29 | 'I' => $this->misc->icon('I'), |
||
| 30 | 'L' => $this->misc->icon('L'), |
||
| 31 | 'Lminus' => $this->misc->icon('Lminus'), |
||
| 32 | 'Loading' => $this->misc->icon('Loading'), |
||
| 33 | 'Lplus' => $this->misc->icon('Lplus'), |
||
| 34 | 'ObjectNotFound' => $this->misc->icon('ObjectNotFound'), |
||
| 35 | 'Refresh' => $this->misc->icon('Refresh'), |
||
| 36 | 'Servers' => $this->misc->icon('Servers'), |
||
| 37 | 'T' => $this->misc->icon('T'), |
||
| 38 | 'Tminus' => $this->misc->icon('Tminus'), |
||
| 39 | 'Tplus' => $this->misc->icon('Tplus'), |
||
| 40 | ]]; |
||
| 41 | |||
| 42 | echo $this->view->fetch('browser.twig', $viewVars); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |