packages.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * Built-in client script packages.
  4. *
  5. * Please see {@link CClientScript::packages} for explanation of the structure
  6. * of the returned array.
  7. *
  8. * @author Qiang Xue <qiang.xue@gmail.com>
  9. * @link http://www.yiiframework.com/
  10. * @copyright 2008-2013 Yii Software LLC
  11. * @license http://www.yiiframework.com/license/
  12. */
  13. return array(
  14. 'jquery'=>array(
  15. 'js'=>array(YII_DEBUG ? 'jquery.js' : 'jquery.min.js'),
  16. ),
  17. 'yii'=>array(
  18. 'js'=>array('jquery.yii.js'),
  19. 'depends'=>array('jquery'),
  20. ),
  21. 'yiitab'=>array(
  22. 'js'=>array('jquery.yiitab.js'),
  23. 'depends'=>array('jquery'),
  24. ),
  25. 'yiiactiveform'=>array(
  26. 'js'=>array('jquery.yiiactiveform.js'),
  27. 'depends'=>array('jquery'),
  28. ),
  29. 'jquery.ui'=>array(
  30. 'js'=>array('jui/js/jquery-ui.min.js'),
  31. 'depends'=>array('jquery'),
  32. ),
  33. 'bgiframe'=>array(
  34. 'js'=>array('jquery.bgiframe.js'),
  35. 'depends'=>array('jquery'),
  36. ),
  37. 'ajaxqueue'=>array(
  38. 'js'=>array('jquery.ajaxqueue.js'),
  39. 'depends'=>array('jquery'),
  40. ),
  41. 'autocomplete'=>array(
  42. 'js'=>array('jquery.autocomplete.js'),
  43. 'depends'=>array('jquery', 'bgiframe', 'ajaxqueue'),
  44. ),
  45. 'maskedinput'=>array(
  46. 'js'=>array(YII_DEBUG ? 'jquery.maskedinput.js' : 'jquery.maskedinput.min.js'),
  47. 'depends'=>array('jquery'),
  48. ),
  49. 'cookie'=>array(
  50. 'js'=>array('jquery.cookie.js'),
  51. 'depends'=>array('jquery'),
  52. ),
  53. 'treeview'=>array(
  54. 'js'=>array('jquery.treeview.js', 'jquery.treeview.edit.js', 'jquery.treeview.async.js'),
  55. 'depends'=>array('jquery', 'cookie'),
  56. ),
  57. 'multifile'=>array(
  58. 'js'=>array('jquery.multifile.js'),
  59. 'depends'=>array('jquery'),
  60. ),
  61. 'rating'=>array(
  62. 'js'=>array('jquery.rating.js'),
  63. 'depends'=>array('jquery', 'metadata'),
  64. ),
  65. 'metadata'=>array(
  66. 'js'=>array('jquery.metadata.js'),
  67. 'depends'=>array('jquery'),
  68. ),
  69. 'bbq'=>array(
  70. 'js'=>array(YII_DEBUG ? 'jquery.ba-bbq.js' : 'jquery.ba-bbq.min.js'),
  71. 'depends'=>array('jquery'),
  72. ),
  73. 'history'=>array(
  74. 'js'=>array('jquery.history.js'),
  75. 'depends'=>array('jquery'),
  76. ),
  77. 'punycode'=>array(
  78. 'js'=>array(YII_DEBUG ? 'punycode.js' : 'punycode.min.js'),
  79. ),
  80. );