| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/administrator/components/com_itemrating/views/report/ |
Upload File : |
<?php
/**
* @version 2.1.6
* @package com_itemrating
* @copyright Copyright (C) 2015. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Joomunited <contact@joomunited.com> - www.joomunited.com
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* View to edit
*/
class ItemratingViewReport extends JViewLegacy {
protected $state;
protected $item;
protected $form;
protected $rate;
protected $group;
/**
* Display the view
*/
public function display($tpl = null) {
//$this->state = $this->get('State');
//$this->item = $this->get('Item');
//$this->form = $this->get('Form');
$this->ratings=$this->get('Rating');
// $this->group=$this->get('Group');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
throw new Exception(implode("\n", $errors));
}
$this->addToolbar();
parent::display($tpl);
}
/**
* Add the page title and toolbar.
*/
protected function addToolbar() {
JFactory::getApplication()->input->set('hidemainmenu', true);
JToolBarHelper::title(JText::_('COM_ITEMRATING_TITLE_EDIT_RPEPORT'), 'item.png');
JToolBarHelper::cancel('report.cancel', 'JTOOLBAR_CANCEL');
}
}