mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 17:20:12 +01:00
25 lines
409 B
PHP
25 lines
409 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
class ControllerSearchFolder extends Controller {
|
||
|
|
||
|
protected function index() {
|
||
|
|
||
|
$this->id = "folder";
|
||
|
$this->template = "search/folder.tpl";
|
||
|
|
||
|
$request = Registry::get('request');
|
||
|
$db = Registry::get('db');
|
||
|
|
||
|
$this->load->model('folder/folder');
|
||
|
|
||
|
$this->data['folders'] = $this->model_folder_folder->get_folders_for_user();
|
||
|
|
||
|
$this->render();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|