%PDF- %PDF-
| Direktori : /home/lightco1/www/lightingrepublic.com.au/administrator/components/com_files/views/files/ |
| Current File : /home/lightco1/www/lightingrepublic.com.au/administrator/components/com_files/views/files/html.php |
<?php
/**
* @version $Id$
* @package Nooku_Components
* @subpackage Files
* @copyright Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.nooku.org
*/
/**
* Files Html View Class
*
* @author Ercan Ozkaya <http://nooku.assembla.com/profile/ercanozkaya>
* @category Nooku
* @package Nooku_Server
* @subpackage Files
*/
class ComFilesViewFilesHtml extends ComDefaultViewHtml
{
protected function _initialize(KConfig $config)
{
$config->auto_assign = false;
parent::_initialize($config);
}
public function display()
{
$state = $this->getModel()->getState();
if (empty($state->limit)) {
$state->limit = JFactory::getApplication()->getCfg('list_limit');
}
$this->assign('sitebase', trim(JURI::root(), '/'));
$this->assign('token' , version_compare(JVERSION, '3.0', 'ge') ? JSession::getFormToken() : JUtility::getToken());
$this->assign('container', $this->getModel()->getState()->container);
return parent::display();
}
}