当前位置: 首页>>代码示例>>PHP>>正文


PHP Vtiger_Index_View::getFooterScripts方法代码示例

本文整理汇总了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;
 }
开发者ID:nikdejan,项目名称:YetiForceCRM,代码行数:8,代码来源:TreeRecords.php

示例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;
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:8,代码来源:Calendar.php

示例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;
 }
开发者ID:yozhi,项目名称:YetiForceCRM,代码行数:8,代码来源:Detail.php

示例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;
 }
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:9,代码来源:List.php

示例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;
 }
开发者ID:epsilonsc,项目名称:YetiForceCRM,代码行数:14,代码来源:DashBoard.php

示例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;
 }
开发者ID:krzychab,项目名称:YetiForceCRM,代码行数:9,代码来源:Detail.php

示例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;
 }
开发者ID:nikdejan,项目名称:YetiForceCRM,代码行数:9,代码来源:Detail.php

示例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;
 }
开发者ID:nikdejan,项目名称:YetiForceCRM,代码行数:16,代码来源:Edit.php

示例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;
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:8,代码来源:AccountsListTree.php

示例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;
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:14,代码来源:ChartDetail.php

示例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;
	}
开发者ID:rubichcube,项目名称:YetiForceCRM,代码行数:23,代码来源:List.php


注:本文中的Vtiger_Index_View::getFooterScripts方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。