modules/OSSMailView/views/Detail.php
<?php
/**
* OSSMailView detail view class.
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
*/
class OSSMailView_Detail_View extends Vtiger_Detail_View
{
/** {@inheritdoc} */
public function __construct()
{
parent::__construct();
$this->exposeMethod('showSummary');
}
/** {@inheritdoc} */
public function isAjaxEnabled($recordModel)
{
return false;
}
/** {@inheritdoc} */
public function showSummary(App\Request $request)
{
$record = $request->getInteger('record');
$viewer = $this->getViewer($request);
$viewer->assign('RECORD', $record);
}
}