Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_jchat/View/Users/HtmlView.php
Ðазад
<?php namespace JExtstore\Component\JChat\Administrator\View\Users; /** * * @package JCHAT::USERS::administrator::components::com_jchat * @subpackage views * @subpackage users * @author Joomla! Extensions Store * @copyright (C) 2015 - Joomla! Extensions Store * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html */ defined ( '_JEXEC' ) or die ( 'Restricted access' ); use Joomla\CMS\Language\Text; use Joomla\CMS\Toolbar\ToolbarHelper; use Joomla\CMS\Pagination\Pagination; use JExtstore\Component\JChat\Administrator\Framework\View as JChatView; /** * Users view implementation * * @package JCHAT::USERS::administrator::components::com_jchat * @subpackage views * @since 1.6 */ class HtmlView extends JChatView { // Template view variables protected $pagination; protected $order; protected $searchword; protected $lists; protected $orders; protected $items; /** * Add the page title and toolbar. * * @since 1.6 */ protected function addDisplayToolbar() { ToolbarHelper::title ( Text::_ ( 'COM_JCHAT_MAINTITLE_TOOLBAR' ) . Text::_ ( 'COM_JCHAT_LIST_USERS' ), 'jchat' ); ToolbarHelper::custom ( 'cpanel.display', 'home', 'home', 'COM_JCHAT_CPANEL', false ); } /** * Default listEntities * * @access public */ public function display($tpl = 'list') { $doc = $this->app->getDocument (); $this->loadJQuery ( $doc ); $this->loadJQueryUI ( $doc ); // Required for draggable feature $this->loadBootstrap ( $doc ); // Get main records $rows = $this->get ( 'Data' ); $lists = $this->get ( 'Filters' ); $total = $this->get ( 'Total' ); $orders = array (); $orders ['order'] = $this->getModel ()->getState ( 'order' ); $orders ['order_Dir'] = $this->getModel ()->getState ( 'order_dir' ); // Pagination view object model state populated $pagination = new Pagination ( $total, $this->getModel ()->getState ( 'limitstart' ), $this->getModel ()->getState ( 'limit' ) ); $this->pagination = $pagination; $this->order = $this->getModel ()->getState ( 'order' ); $this->searchword = $this->getModel ()->getState ( 'searchword' ); $this->lists = $lists; $this->orders = $orders; $this->items = $rows; $this->option = $this->getModel ()->getState ( 'option' ); // Add toolbar $this->addDisplayToolbar (); parent::display ( $tpl ); } /** * Class constructor * * @param array $config */ public function __construct($config = array()) { // Parent view object parent::__construct ( $config ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка