piler/webui/controller/search/folder.php

25 lines
409 B
PHP
Raw Normal View History

2012-09-06 15:27:20 +02:00
<?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();
}
}
?>