本文整理汇总了PHP中Settings_Vtiger_Index_View::getFooterScripts方法的典型用法代码示例。如果您正苦于以下问题:PHP Settings_Vtiger_Index_View::getFooterScripts方法的具体用法?PHP Settings_Vtiger_Index_View::getFooterScripts怎么用?PHP Settings_Vtiger_Index_View::getFooterScripts使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Settings_Vtiger_Index_View
的用法示例。
在下文中一共展示了Settings_Vtiger_Index_View::getFooterScripts方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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 = ['modules.Settings.OSSPdf.general'];
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例2: 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('layouts.vlayout.modules.OSSPasswords.resources.general');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($jsScriptInstances, $headerScriptInstances);
return $headerScriptInstances;
}
示例3: getFooterScripts
function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array("modules.Settings.{$moduleName}.resources.Colors", "~/libraries/jquery/colorpicker/js/colorpicker.js");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例4: 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);
$moduleName = $request->getModule();
$jsFileNames = array('~libraries/jquery/malihu-custom-scrollbar/js/jquery.mCustomScrollbar.concat.min.js');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例5: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array("modules.Settings.{$moduleName}.resources.Index");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例6: getFooterScripts
function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array("modules.Settings.{$moduleName}.resources.LangManagement", '~libraries/jquery/datatables/media/js/jquery.dataTables.min.js', '~libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.min.js', 'modules.Vtiger.resources.dashboards.Widget', '~libraries/jquery/flot/jquery.flot.min.js', '~libraries/jquery/flot/jquery.flot.stack.min.js', '~libraries/jquery/flot/jquery.flot.valuelabels.min.js');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例7: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = ['modules.Settings.Vtiger.resources.Edit', "modules.Settings.{$moduleName}.resources.Edit", "modules.Settings.{$moduleName}.resources.Edit1", "modules.Settings.{$moduleName}.resources.Edit2", "modules.Settings.{$moduleName}.resources.Edit3", "modules.Settings.{$moduleName}.resources.Edit4", 'modules.Vtiger.resources.AdvanceFilter', 'modules.Vtiger.resources.AdvanceFilterEx'];
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例8: 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);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Settings.Vtiger.resources.Index', "modules.Settings.{$moduleName}.resources.Index", 'modules.Settings.Vtiger.resources.Popup', "modules.Settings.{$moduleName}.resources.Popup", 'libraries.jquery.jquery_windowmsg');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例9: 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);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Settings.Vtiger.resources.CustomRecordNumbering', 'libraries.jquery.ZeroClipboard.ZeroClipboard', 'modules.Settings.Vtiger.resources.Edit');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例10: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$moduleOssCost = 'modules.' . $moduleName . '.resources.Edit';
unset($headerScriptInstances[$moduleOssCost]);
$jsFileNames = array('modules.Inventory.resources.Edit', 'modules.' . $moduleName . '.resources.Edit');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例11: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = [
'libraries.jquery.ZeroClipboard.ZeroClipboard',
'modules.Settings.Vtiger.resources.Edit',
"modules.Settings.$moduleName.resources.Edit",
"modules.Settings.$moduleName.resources.Edit1",
"modules.Settings.$moduleName.resources.Edit2",
"modules.Settings.$moduleName.resources.Edit3",
"modules.Settings.$moduleName.resources.Edit4",
"modules.Settings.$moduleName.resources.Edit5",
"modules.Settings.$moduleName.resources.Edit6",
"modules.Settings.$moduleName.resources.Edit7",
"modules.Settings.$moduleName.resources.Edit8",
'modules.Vtiger.resources.AdvanceFilter',
'modules.Vtiger.resources.AdvanceFilterEx',
];
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例12: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Settings.Vtiger.resources.Edit', "modules.Settings.{$moduleName}.resources.Edit", "modules.Settings.{$moduleName}.resources.Edit1", "modules.Settings.{$moduleName}.resources.Edit2", "modules.Settings.{$moduleName}.resources.Edit3", "modules.Settings.{$moduleName}.resources.AdvanceFilter", '~libraries/jquery/ckeditor/ckeditor.js', "modules.Vtiger.resources.CkEditor", '~libraries/jquery/jquery.datepick.package-4.1.0/jquery.datepick.js');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例13: 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);
$moduleName = $request->getModule();
$jsFileNames = array(
'modules.Vtiger.resources.List',
'modules.Settings.Vtiger.resources.List',
"modules.Settings.$moduleName.resources.List",
"modules.Settings.Vtiger.resources.$moduleName",
);
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}