本文整理汇总了PHP中Vtiger_Index_View类的典型用法代码示例。如果您正苦于以下问题:PHP Vtiger_Index_View类的具体用法?PHP Vtiger_Index_View怎么用?PHP Vtiger_Index_View使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Vtiger_Index_View类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getViewer
/**
* Function which gets the template handler
* @global String $currentModule
* @return MailManager_Viewer
*/
public function getViewer(Vtiger_Request $request)
{
$viewer = parent::getViewer($request);
$viewer->assign('MAILBOX', $this->getMailboxModel());
$viewer->assign('QUALIFIED_MODULE', $request->get('module'));
return $viewer;
}
示例2: postProcess
function postProcess(Vtiger_Request $request)
{
$viewer = $this->getViewer($request);
$moduleName = $request->getModule();
$viewer->view('CalendarViewPostProcess.tpl', $moduleName);
parent::postProcess($request);
}
示例3:
function __construct()
{
parent::__construct();
//$this->exposeMethod('showActiveRecords');
$this->exposeMethod('showSettingsList');
$this->exposeMethod('editLicense');
}
示例4:
function __construct()
{
global $log;
$log->debug("Entering ./views/IndexAjax.php::__construct");
parent::__construct();
$this->exposeMethod('showActiveRecords');
}
示例5: getFooterScripts
/**
* Function to get the list of Script models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_JsScript_Model instances
*/
function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$jsFileNames = array('modules.Import.resources.Import');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例6: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = array('~libraries/fullcalendar/fullcalendar.min.css', '~libraries/fullcalendar/fullcalendarCRM.css');
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
示例7: getHeaderScripts
public function getHeaderScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getHeaderScripts($request);
$jsFileNames = array('modules.Vtiger.resources.Detail', 'modules.Vtiger.resources.RelatedList');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例8: getHeaderCss
/**
* Function to get the list of Css models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_CssScript_Model instances
*/
public function getHeaderCss(Vtiger_Request $request)
{
$parentHeaderCssScriptInstances = parent::getHeaderCss($request);
$headerCss = array('~/layouts/vlayout/modules/' . $request->getModule() . '/resources/jquery-tzCheckbox/jquery-tzCheckbox.css');
$cssScripts = $this->checkAndConvertCssStyles($headerCss);
$headerCssScriptInstances = array_merge($parentHeaderCssScriptInstances, $cssScripts);
return $headerCssScriptInstances;
}
示例9: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = array('~/libraries/fullcalendar/fullcalendar.css', '~/libraries/fullcalendar/fullcalendar-bootstrap.css', '~/libraries/jquery/colorpicker/css/colorpicker.css');
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
示例10: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$parentCssInstances = parent::getHeaderCss($request);
$cssFileNames = ['~libraries/jquery/jstree/themes/proton/style.css', '~libraries/jquery/datatables/media/css/jquery.dataTables_themeroller.css', '~libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.css'];
$modalInstances = $this->checkAndConvertCssStyles($cssFileNames);
$cssInstances = array_merge($parentCssInstances, $modalInstances);
return $cssInstances;
}
示例11: getHeaderScripts
function getHeaderScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getHeaderScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array("layouts.vlayout.modules.PDFMaker.resources.Uninstall");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例12: getHeaderScripts
/**
* Function to get the list of Script models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_JsScript_Model instances
*/
function getHeaderScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getHeaderScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Vtiger.resources.List', "modules.{$moduleName}.resources.List", 'modules.CustomView.resources.CustomView', "modules.{$moduleName}.resources.CustomView", "modules.Emails.resources.MassEdit", "modules.Vtiger.resources.CkEditor");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例13: getFooterScripts
function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Vtiger.resources.List', "modules.{$moduleName}.resources.List");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例14:
function __construct()
{
parent::__construct();
$this->exposeMethod('showSettingsList');
$this->exposeMethod('editCustomLabel');
$this->exposeMethod('showCustomLabelValues');
$this->exposeMethod('editLicense');
$this->exposeMethod('showBarcodes');
$this->exposeMethod('PDFBreakline');
}
示例15: getHeaderScripts
/**
* Function to get the list of Script models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_JsScript_Model instances
*/
function getHeaderScripts(Vtiger_Request $request)
{
global $log;
$log->debug("Entering ./views/Import.php::getHeaderScripts");
$headerScriptInstances = parent::getHeaderScripts($request);
$jsFileNames = array('modules.Import.resources.Import');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}