當前位置: 首頁>>代碼示例>>PHP>>正文


PHP sfWidgetForm::getJavaScripts方法代碼示例

本文整理匯總了PHP中sfWidgetForm::getJavaScripts方法的典型用法代碼示例。如果您正苦於以下問題:PHP sfWidgetForm::getJavaScripts方法的具體用法?PHP sfWidgetForm::getJavaScripts怎麽用?PHP sfWidgetForm::getJavaScripts使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在sfWidgetForm的用法示例。


在下文中一共展示了sfWidgetForm::getJavaScripts方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getJavaScripts

 public function getJavaScripts()
 {
     /* prototype is required... :(
      * TODO: reimplement form jQuery
      */
     return array_merge(parent::getJavaScripts(), array('/dcReloadedFormExtraPlugin/js/prototype.js', '/dcReloadedFormExtraPlugin/js/ajax_dependence.js'), $this->getDependantWidgetJavaScripts());
 }
開發者ID:nvidela,項目名稱:kimkelen,代碼行數:7,代碼來源:dcWidgetFormAjaxDependence.class.php

示例2: getJavaScripts

 /**
  * Merge javascripts for each selectable widget
  *
  * @return array
  */
 public function getJavaScripts()
 {
     $ret = array_merge(parent::getJavaScripts(), array('/dcReloadedFormExtraPlugin/js/jquery.cookie.js'));
     foreach ($this->widgets as $k => $w) {
         $ret = array_merge($ret, $w->getJavaScripts());
     }
     return $ret;
 }
開發者ID:nvidela,項目名稱:kimkelen,代碼行數:13,代碼來源:crWidgetFormSelectableWidget.class.php

示例3: getJavaScripts

 public function getJavaScripts()
 {
     $parentJs = parent::getJavaScripts();
     $fromDateWidget = $this->getOption($this->attributes['id'] . '_' . 'from_date');
     $fromWidgetJs = $fromDateWidget->getJavaScripts();
     $javaScripts = array_merge($parentJs, $fromWidgetJs);
     return $javaScripts;
 }
開發者ID:lahirwisada,項目名稱:orangehrm,代碼行數:8,代碼來源:ohrmWidgetDateRange.php

示例4: getJavaScripts

 public function getJavaScripts()
 {
     $javaScripts = parent::getJavaScripts();
     $javaScripts[] = plugin_web_path('orangehrmLeavePlugin', 'js/ohrmWidgetFormLeaveDuration.js');
     return $javaScripts;
 }
開發者ID:lahirwisada,項目名稱:orangehrm,代碼行數:6,代碼來源:ohrmWidgetFormLeaveDuration.php

示例5: getJavaScripts

 /**
  * Gets the JavaScript paths associated with the widget.
  *
  * @return array An array of JavaScript paths
  */
 public function getJavaScripts()
 {
     return array_merge(parent::getJavaScripts(), array('/dcReloadedFormExtraPlugin/js/change_for_credentials.js'));
 }
開發者ID:nvidela,項目名稱:kimkelen,代碼行數:9,代碼來源:dcWidgetFormChangeForCredentials.class.php

示例6: getJavaScripts

 public function getJavaScripts()
 {
     return array_merge(parent::getJavaScripts(), array("/dcReloadedFormExtraPlugin/js/alTimepicker/jquery.ui.timepicker.js"));
 }
開發者ID:nvidela,項目名稱:kimkelen,代碼行數:4,代碼來源:alWidgetFormTimepicker.class.php

示例7: getJavaScripts

 /**
  * Merge javascripts for this widget with those scripts needed by widget option
  *
  * @return array
  */
 public function getJavaScripts()
 {
     return array_merge(parent::getJavaScripts(), array('/dcReloadedFormExtraPlugin/js/jstree/jquery.jstree.js'));
 }
開發者ID:nvidela,項目名稱:kimkelen,代碼行數:9,代碼來源:crWidgetFormJsTree.class.php

示例8: getJavaScripts

 /**
  * Merge javascripts for this widget with those scripts needed by widget option
  *
  * @return array
  */
 public function getJavaScripts()
 {
     return array_merge(parent::getJavaScripts(), array('/dcReloadedFormExtraPlugin/js/dc_widget_form_jquery_dependence.js'), $this->getOption('widget')->getJavascripts());
 }
開發者ID:nvidela,項目名稱:kimkelen,代碼行數:9,代碼來源:dcWidgetFormJQueryDependence.class.php


注:本文中的sfWidgetForm::getJavaScripts方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。