| Current Path : /home/helpink/www/components/com_jbusinessdirectory/views/managecompanyannouncements/ |
| Current File : /home/helpink/www/components/com_jbusinessdirectory/views/managecompanyannouncements/view.html.php |
<?php
/**
* @package J-BusinessDirectory
*
* @author CMSJunkie http://www.cmsjunkie.com/
* @copyright Copyright (C) 2007 - 2022 CMSJunkie. All rights reserved.
* @license https://www.gnu.org/licenses/agpl-3.0.en.html
*/
defined('_JEXEC') or die('Restricted access');
// following translations will be used in js
JText::script('COM_JBUSINESS_DIRECTORY_ANNOUNCEMENT_CONFIRM_DELETE');
require_once JPATH_COMPONENT_SITE.'/views/jbdview.php';
class JBusinessDirectoryViewManageCompanyAnnouncements extends JBusinessDirectoryFrontEndView {
protected $pagination;
protected $item;
protected $State;
public function __construct() {
parent::__construct();
}
public function display($tpl = null) {
$this->items = $this->get('Items');
$this->pagination = $this->get('Pagination');
$this->state = $this->get('State');
$this->total = $this->get('Total');
$this->actions = JBusinessDirectoryHelper::getActions();
$this->annActions = JBusinessUtil::getAnnouncementActions();
parent::display($tpl);
}
}