0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-11 00:42:27 +00:00
salesagility_SuiteCRM/modules/ACLRoles/views/view.classic.php
Dillon-Brown 4ee7a709a0 Remove PHP4 constructors
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-26 21:50:24 +00:00

34 lines
750 B
PHP

<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
class ACLRolesViewClassic extends ViewDetail
{
public function __construct()
{
parent::__construct();
//turn off normal display of subpanels
$this->options['show_subpanels'] = false; //no longer works in 6.3.0
}
public function display()
{
$this->dv->process();
$file = SugarController::getActionFilename($this->action);
$this->includeClassicFile('modules/'. $this->module . '/'. $file . '.php');
}
public function preDisplay()
{
parent::preDisplay();
$this->options['show_subpanels'] = false; //eggsurplus: will display subpanels twice otherwise
}
}