本文整理汇总了PHP中Vtiger_Index_View::getFooterScripts方法的典型用法代码示例。如果您正苦于以下问题:PHP Vtiger_Index_View::getFooterScripts方法的具体用法?PHP Vtiger_Index_View::getFooterScripts怎么用?PHP Vtiger_Index_View::getFooterScripts使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Vtiger_Index_View
的用法示例。
在下文中一共展示了Vtiger_Index_View::getFooterScripts方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$parentScriptInstances = parent::getFooterScripts($request);
$scripts = ['~libraries/jquery/jstree/jstree.js', '~libraries/jquery/jstree/jstree.category.js', '~libraries/jquery/datatables/media/js/jquery.dataTables.min.js', '~libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.min.js'];
$viewInstances = $this->checkAndConvertJsScripts($scripts);
$scriptInstances = array_merge($parentScriptInstances, $viewInstances);
return $scriptInstances;
}
示例2: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$jsFileNames = array('~libraries/fullcalendar/moment.min.js', '~libraries/fullcalendar/fullcalendar.js', 'modules.Calendar.resources.CalendarView');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例3: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$jsFileNames = array('modules.Vtiger.resources.Detail');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例4: 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;
}
示例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
*/
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('~/libraries/jquery/gridster/jquery.gridster.min.js', '~/libraries/jquery/flot/jquery.flot.min.js', '~/libraries/jquery/flot/jquery.flot.pie.min.js', '~/libraries/jquery/flot/jquery.flot.stack.min.js', '~/libraries/jquery/jqplot/jquery.jqplot.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.canvasTextRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.pieRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.barRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.categoryAxisRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.pointLabels.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.funnelRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.barRenderer.min.js', '~/libraries/jquery/jqplot/plugins/jqplot.logAxisRenderer.min.js', 'modules.Vtiger.resources.DashBoard', 'modules.' . $moduleName . '.resources.DashBoard', 'modules.Vtiger.resources.dashboards.Widget', '~/libraries/fullcalendar/moment.min.js', '~/libraries/fullcalendar/fullcalendar.js');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例6: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Vtiger.resources.Detail', "modules.{$moduleName}.resources.Detail", 'modules.Vtiger.resources.RelatedList', "modules.{$moduleName}.resources.RelatedList", 'libraries.jquery.jquery_windowmsg', "libraries.jquery.ckeditor.ckeditor", "libraries.jquery.ckeditor.adapters.jquery", "modules.Emails.resources.MassEdit", "modules.Vtiger.resources.CkEditor", "modules.Vtiger.resources.Widgets");
$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 = array('modules.Vtiger.resources.RelatedList', "modules.{$moduleName}.resources.RelatedList", 'modules.Emails.resources.MassEdit', 'modules.Vtiger.resources.Widgets', '~/libraries/timelineJS3/js/timeline.js');
$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)
{
$parentScript = parent::getFooterScripts($request);
$moduleName = $request->getModule();
if (Vtiger_Module_Model::getInstance($moduleName)->isInventory()) {
$fileNames = ['modules.Vtiger.resources.Inventory', 'modules.' . $moduleName . '.resources.Inventory'];
$scriptInstances = $this->checkAndConvertJsScripts($fileNames);
$parentScript = array_merge($parentScript, $scriptInstances);
}
return $parentScript;
}
示例9: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$parentScriptInstances = parent::getFooterScripts($request);
$scripts = ['~libraries/jquery/jstree/jstree.min.js'];
$viewInstances = $this->checkAndConvertJsScripts($scripts);
$scriptInstances = array_merge($viewInstances, $parentScriptInstances);
return $scriptInstances;
}
示例10: 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.Detail', "modules.Vtiger.resources.dashboards.Widget", "modules.{$moduleName}.resources.Detail", "modules.{$moduleName}.resources.Edit", "modules.{$moduleName}.resources.Edit3", "modules.{$moduleName}.resources.ChartEdit", "modules.{$moduleName}.resources.ChartEdit2", "modules.{$moduleName}.resources.ChartEdit3", "modules.{$moduleName}.resources.ChartDetail", '~libraries/jquery/jqplot/jquery.jqplot.min.js', '~libraries/jquery/jqplot/plugins/jqplot.barRenderer.min.js', '~libraries/jquery/jqplot/plugins/jqplot.canvasTextRenderer.min.js', '~libraries/jquery/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js', '~libraries/jquery/jqplot/plugins/jqplot.categoryAxisRenderer.min.js', '~libraries/jquery/jqplot/plugins/jqplot.pointLabels.min.js', '~libraries/jquery/jqplot/plugins/jqplot.highlighter.min.js', '~libraries/jquery/jqplot/plugins/jqplot.pieRenderer.min.js');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
示例11: 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.$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;
}