erp_app 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (909) hide show
  1. data/README.md +3 -0
  2. data/app/controllers/erp_app/application_controller.rb +1 -0
  3. data/app/controllers/erp_app/desktop/base_controller.rb +1 -1
  4. data/app/controllers/erp_app/desktop/configuration_management/base_controller.rb +180 -0
  5. data/app/controllers/erp_app/desktop/configuration_management/options_controller.rb +55 -0
  6. data/app/controllers/erp_app/desktop/configuration_management/types_controller.rb +129 -0
  7. data/app/controllers/erp_app/desktop/control_panel/application_management_controller.rb +1 -1
  8. data/app/controllers/erp_app/desktop/control_panel/desktop_management_controller.rb +1 -1
  9. data/app/controllers/erp_app/desktop/control_panel/profile_management_controller.rb +14 -16
  10. data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -7
  11. data/app/controllers/erp_app/desktop/system_management/application_role_management_controller.rb +1 -1
  12. data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +9 -9
  13. data/app/controllers/erp_app/desktop/user_management/base_controller.rb +1 -1
  14. data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +13 -8
  15. data/app/controllers/erp_app/mobile/base_controller.rb +21 -0
  16. data/app/controllers/erp_app/mobile/login_controller.rb +11 -0
  17. data/app/controllers/erp_app/mobile/user_management/base_controller.rb +24 -0
  18. data/app/controllers/erp_app/organizer/base_controller.rb +6 -5
  19. data/app/controllers/erp_app/organizer/crm/base_controller.rb +117 -15
  20. data/app/controllers/erp_app/public_controller.rb +73 -6
  21. data/app/controllers/erp_app/shared/configuration_controller.rb +53 -0
  22. data/app/controllers/erp_app/widget_proxy_controller.rb +1 -1
  23. data/app/models/app_container.rb +8 -2
  24. data/app/models/application.rb +1 -1
  25. data/app/models/configuration.rb +129 -0
  26. data/app/models/configuration_item.rb +45 -0
  27. data/app/models/configuration_item_type.rb +96 -0
  28. data/app/models/configuration_item_type_configuration_option.rb +10 -0
  29. data/app/models/configuration_option.rb +20 -0
  30. data/app/models/desktop.rb +7 -10
  31. data/app/models/extensions/user.rb +41 -2
  32. data/app/models/mobile.rb +10 -0
  33. data/app/models/mobile_application.rb +6 -0
  34. data/app/models/organizer.rb +3 -6
  35. data/app/models/preference.rb +2 -2
  36. data/app/models/preference_type.rb +1 -1
  37. data/app/models/user_preference.rb +3 -3
  38. data/app/models/valid_configuration.rb +4 -0
  39. data/app/models/valid_preference_type.rb +2 -2
  40. data/app/observers/user_app_container_observer.rb +7 -2
  41. data/app/views/erp_app/desktop/base/index.erb +25 -32
  42. data/app/views/erp_app/login/index.erb +3 -3
  43. data/app/views/erp_app/mobile/base/index.erb +37 -0
  44. data/app/views/erp_app/mobile/login/index.erb +22 -0
  45. data/app/views/erp_app/mobile/user_management/base/index.html.erb +28 -0
  46. data/app/views/erp_app/organizer/base/get_party_details.erb +19 -0
  47. data/app/views/erp_app/organizer/base/index.erb +20 -23
  48. data/app/views/erp_app/widget_proxy/index.erb +1 -1
  49. data/config/routes.rb +22 -0
  50. data/db/data_migrations/20110728201729_erp_app_setup.rb +3 -1
  51. data/db/data_migrations/20120229160222_add_userinfo_widget.rb +30 -0
  52. data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +10 -0
  53. data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +18 -0
  54. data/db/data_migrations/20120413000515_create_mobile_containers.rb +13 -0
  55. data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +22 -0
  56. data/db/data_migrations/upgrade/20120213182651_add_true_north_background.rb +16 -0
  57. data/db/migrate/20080805000096_base_app_framework.rb +125 -33
  58. data/db/migrate/20120316152543_add_is_template_to_configurations.rb +5 -0
  59. data/db/migrate/20120320182253_update_app_container.rb +20 -0
  60. data/db/migrate/20120325123722_remove_file_system_loader_column.rb +9 -0
  61. data/db/migrate/20120411151848_add_base_url_to_application.rb +5 -0
  62. data/db/migrate/20120427000446_add_user_defined_to_config_option.rb +17 -0
  63. data/db/migrate/20120429130430_update_configuration_join_tables.rb +16 -0
  64. data/db/migrate/upgrade/20120208201934_add_configuration_models.rb +109 -0
  65. data/db/migrate/upgrade/20120209194251_add_user_defined_to_config_type.rb +5 -0
  66. data/db/migrate/upgrade/20120210172929_add_config_types_to_configs.rb +23 -0
  67. data/lib/erp_app/application_resource_loader/base_loader.rb +17 -0
  68. data/lib/erp_app/application_resource_loader/{file_system_loader.rb → desktop_organizer_loader.rb} +15 -29
  69. data/lib/erp_app/application_resource_loader/mobile_loader.rb +46 -0
  70. data/lib/erp_app/application_resource_loader/shared_loader.rb +26 -0
  71. data/lib/erp_app/application_resource_loader.rb +4 -0
  72. data/lib/erp_app/config.rb +2 -2
  73. data/lib/erp_app/engine.rb +7 -4
  74. data/lib/erp_app/extensions/railties/action_view/base.rb +12 -0
  75. data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +17 -0
  76. data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +45 -0
  77. data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +134 -0
  78. data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +27 -0
  79. data/lib/erp_app/extensions.rb +1 -2
  80. data/lib/erp_app/version.rb +8 -1
  81. data/lib/erp_app/widgets/base.rb +50 -43
  82. data/lib/erp_app/widgets/javascript_loader.rb +13 -20
  83. data/lib/erp_app/widgets/loader.rb +126 -0
  84. data/lib/erp_app/widgets/railties/action_view/base.rb +8 -0
  85. data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +57 -0
  86. data/lib/erp_app/widgets.rb +2 -2
  87. data/lib/erp_app.rb +3 -1
  88. data/lib/generators/cms_widget/templates/engine/engine_template.rb +0 -4
  89. data/lib/generators/cms_widget/templates/javascript/base.js.erb +2 -1
  90. data/lib/generators/desktop_application/USAGE +1 -1
  91. data/lib/generators/desktop_application/templates/controllers/controller_template.rb +7 -5
  92. data/lib/generators/desktop_application/templates/migrate/migration_template.rb +0 -4
  93. data/lib/generators/mobile_application/USAGE +24 -0
  94. data/lib/generators/mobile_application/mobile_application_generator.rb +27 -0
  95. data/lib/generators/mobile_application/templates/INSTALL +25 -0
  96. data/lib/generators/mobile_application/templates/controllers/controller_template.rb +11 -0
  97. data/lib/generators/mobile_application/templates/migrate/migration_template.rb +14 -0
  98. data/lib/generators/mobile_application/templates/public/app.js.erb +35 -0
  99. data/lib/generators/mobile_application/templates/views/index.html.erb +28 -0
  100. data/lib/generators/organizer_application/templates/controllers/controller_template.rb +9 -11
  101. data/public/images/icons/apartment/apartment_16x16.png +0 -0
  102. data/public/images/icons/apartment/apartment_24x24.png +0 -0
  103. data/public/images/icons/apartment/apartment_32x32.png +0 -0
  104. data/public/images/icons/apartment/apartment_48x48.png +0 -0
  105. data/public/images/wallpaper/truenorth.png +0 -0
  106. data/public/javascripts/erp_app/authentication/widget_manager.js +23 -2
  107. data/public/javascripts/erp_app/ckeditor/ckeditor.js +113 -111
  108. data/public/javascripts/erp_app/ckeditor/contents.css +2 -2
  109. data/public/javascripts/erp_app/ckeditor/lang/_translationstatus.txt +59 -59
  110. data/public/javascripts/erp_app/ckeditor/lang/af.js +1 -1
  111. data/public/javascripts/erp_app/ckeditor/lang/ar.js +1 -1
  112. data/public/javascripts/erp_app/ckeditor/lang/bg.js +1 -1
  113. data/public/javascripts/erp_app/ckeditor/lang/bn.js +1 -1
  114. data/public/javascripts/erp_app/ckeditor/lang/bs.js +1 -1
  115. data/public/javascripts/erp_app/ckeditor/lang/ca.js +1 -1
  116. data/public/javascripts/erp_app/ckeditor/lang/cs.js +1 -1
  117. data/public/javascripts/erp_app/ckeditor/lang/cy.js +1 -1
  118. data/public/javascripts/erp_app/ckeditor/lang/da.js +1 -1
  119. data/public/javascripts/erp_app/ckeditor/lang/de.js +1 -1
  120. data/public/javascripts/erp_app/ckeditor/lang/el.js +1 -1
  121. data/public/javascripts/erp_app/ckeditor/lang/en-au.js +1 -1
  122. data/public/javascripts/erp_app/ckeditor/lang/en-ca.js +1 -1
  123. data/public/javascripts/erp_app/ckeditor/lang/en-gb.js +1 -1
  124. data/public/javascripts/erp_app/ckeditor/lang/en.js +1 -1
  125. data/public/javascripts/erp_app/ckeditor/lang/eo.js +1 -1
  126. data/public/javascripts/erp_app/ckeditor/lang/es.js +1 -1
  127. data/public/javascripts/erp_app/ckeditor/lang/et.js +1 -1
  128. data/public/javascripts/erp_app/ckeditor/lang/eu.js +1 -1
  129. data/public/javascripts/erp_app/ckeditor/lang/fa.js +1 -1
  130. data/public/javascripts/erp_app/ckeditor/lang/fi.js +1 -1
  131. data/public/javascripts/erp_app/ckeditor/lang/fo.js +1 -1
  132. data/public/javascripts/erp_app/ckeditor/lang/fr-ca.js +1 -1
  133. data/public/javascripts/erp_app/ckeditor/lang/fr.js +1 -1
  134. data/public/javascripts/erp_app/ckeditor/lang/gl.js +1 -1
  135. data/public/javascripts/erp_app/ckeditor/lang/gu.js +1 -1
  136. data/public/javascripts/erp_app/ckeditor/lang/he.js +1 -1
  137. data/public/javascripts/erp_app/ckeditor/lang/hi.js +1 -1
  138. data/public/javascripts/erp_app/ckeditor/lang/hr.js +1 -1
  139. data/public/javascripts/erp_app/ckeditor/lang/hu.js +1 -1
  140. data/public/javascripts/erp_app/ckeditor/lang/is.js +1 -1
  141. data/public/javascripts/erp_app/ckeditor/lang/it.js +1 -1
  142. data/public/javascripts/erp_app/ckeditor/lang/ja.js +1 -1
  143. data/public/javascripts/erp_app/ckeditor/lang/ka.js +1 -1
  144. data/public/javascripts/erp_app/ckeditor/lang/km.js +1 -1
  145. data/public/javascripts/erp_app/ckeditor/lang/ko.js +1 -1
  146. data/public/javascripts/erp_app/ckeditor/lang/lt.js +1 -1
  147. data/public/javascripts/erp_app/ckeditor/lang/lv.js +1 -1
  148. data/public/javascripts/erp_app/ckeditor/lang/mn.js +1 -1
  149. data/public/javascripts/erp_app/ckeditor/lang/ms.js +1 -1
  150. data/public/javascripts/erp_app/ckeditor/lang/nb.js +1 -1
  151. data/public/javascripts/erp_app/ckeditor/lang/nl.js +1 -1
  152. data/public/javascripts/erp_app/ckeditor/lang/no.js +1 -1
  153. data/public/javascripts/erp_app/ckeditor/lang/pl.js +1 -1
  154. data/public/javascripts/erp_app/ckeditor/lang/pt-br.js +1 -1
  155. data/public/javascripts/erp_app/ckeditor/lang/pt.js +1 -1
  156. data/public/javascripts/erp_app/ckeditor/lang/ro.js +1 -1
  157. data/public/javascripts/erp_app/ckeditor/lang/ru.js +1 -1
  158. data/public/javascripts/erp_app/ckeditor/lang/sk.js +1 -1
  159. data/public/javascripts/erp_app/ckeditor/lang/sl.js +1 -1
  160. data/public/javascripts/erp_app/ckeditor/lang/sr-latn.js +1 -1
  161. data/public/javascripts/erp_app/ckeditor/lang/sr.js +1 -1
  162. data/public/javascripts/erp_app/ckeditor/lang/sv.js +1 -1
  163. data/public/javascripts/erp_app/ckeditor/lang/th.js +1 -1
  164. data/public/javascripts/erp_app/ckeditor/lang/tr.js +1 -1
  165. data/public/javascripts/erp_app/ckeditor/lang/uk.js +1 -1
  166. data/public/javascripts/erp_app/ckeditor/lang/vi.js +1 -1
  167. data/public/javascripts/erp_app/ckeditor/lang/zh-cn.js +1 -1
  168. data/public/javascripts/erp_app/ckeditor/lang/zh.js +1 -1
  169. data/public/javascripts/erp_app/ckeditor/plugins/autogrow/plugin.js +1 -1
  170. data/public/javascripts/erp_app/ckeditor/plugins/docprops/dialogs/docprops.js +2 -2
  171. data/public/javascripts/erp_app/ckeditor/plugins/find/dialogs/find.js +5 -5
  172. data/public/javascripts/erp_app/ckeditor/plugins/flash/dialogs/flash.js +1 -1
  173. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
  174. data/public/javascripts/erp_app/ckeditor/plugins/image/dialogs/image.js +1 -1
  175. data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js +1 -1
  176. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/codemirror_config.js +85 -0
  177. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/editor.css +96 -0
  178. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/buttonbg.gif +0 -0
  179. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/cancel.png +0 -0
  180. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/highlight.png +0 -0
  181. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/redo.png +0 -0
  182. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/reindent.png +0 -0
  183. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/save.png +0 -0
  184. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/search.png +0 -0
  185. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/undo.png +0 -0
  186. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/nocolors.css +24 -0
  187. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/LICENSE +23 -0
  188. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/bigtest.html +1296 -0
  189. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/compress.html +169 -0
  190. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/css/csharpcolors.css +60 -0
  191. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/index.html +61 -0
  192. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/parsecsharp.js +329 -0
  193. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/tokenizecsharp.js +196 -0
  194. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/LICENSE +24 -0
  195. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/css/freemarkercolors.css +63 -0
  196. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/index.html +75 -0
  197. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/js/parsefreemarker.js +380 -0
  198. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/groovy/index.html +57 -0
  199. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/LICENSE +20 -0
  200. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/css/javacolors.css +64 -0
  201. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/index.html +66 -0
  202. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/parsejava.js +285 -0
  203. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/tokenizejava.js +222 -0
  204. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/LICENSE +32 -0
  205. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/css/luacolors.css +63 -0
  206. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/index.html +68 -0
  207. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/js/parselua.js +254 -0
  208. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/LICENSE +23 -0
  209. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/css/ometacolors.css +63 -0
  210. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/index.html +77 -0
  211. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/parseometa.js +364 -0
  212. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/tokenizeometa.js +209 -0
  213. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/LICENSE +37 -0
  214. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/css/phpcolors.css +114 -0
  215. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/index.html +310 -0
  216. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephp.js +419 -0
  217. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephphtmlmixed.js +116 -0
  218. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/tokenizephp.js +1208 -0
  219. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/LICENSE +22 -0
  220. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/css/plsqlcolors.css +57 -0
  221. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/index.html +67 -0
  222. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/js/parseplsql.js +233 -0
  223. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/LICENSE +32 -0
  224. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/css/pythoncolors.css +58 -0
  225. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/index.html +141 -0
  226. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/js/parsepython.js +541 -0
  227. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/js-regexcolors.css +214 -0
  228. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/regexcolors.css +214 -0
  229. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/index.html +114 -0
  230. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parsejavascript_and_regex.js +91 -0
  231. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex-unicode.js +284 -0
  232. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex.js +847 -0
  233. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js-regex.html +118 -0
  234. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/LICENSE +23 -0
  235. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/css/schemecolors.css +45 -0
  236. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/index.html +82 -0
  237. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/parsescheme.js +428 -0
  238. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/tokenizescheme.js +241 -0
  239. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/LICENSE +22 -0
  240. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/css/sqlcolors.css +59 -0
  241. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/index.html +56 -0
  242. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/js/parsesql.js +267 -0
  243. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/LICENSE +13 -0
  244. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors-dark.css +93 -0
  245. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors.css +99 -0
  246. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors2.css +96 -0
  247. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/index.html +552 -0
  248. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/parsexquery.js +234 -0
  249. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/tokenizexquery.js +457 -0
  250. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon.png +0 -0
  251. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon_vector.ai +965 -0
  252. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/csscolors.css +55 -0
  253. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/docs.css +158 -0
  254. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/font.js +15 -0
  255. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/jscolors.css +59 -0
  256. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/people.jpg +0 -0
  257. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/sparqlcolors.css +43 -0
  258. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/xmlcolors.css +55 -0
  259. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/csstest.html +60 -0
  260. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/faq.html +86 -0
  261. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/favicon.ico +0 -0
  262. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googleb196c451afc2ee11.html +1 -0
  263. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googlehostedservice.html +1 -0
  264. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/highlight.html +82 -0
  265. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/htmltest.html +53 -0
  266. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/index.html +254 -0
  267. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js +582 -0
  268. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/editor.js +1670 -0
  269. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/highlight.js +68 -0
  270. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/mirrorframe.js +81 -0
  271. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsecss.js +161 -0
  272. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsedummy.js +32 -0
  273. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsehtmlmixed.js +93 -0
  274. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsejavascript.js +359 -0
  275. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsesparql.js +162 -0
  276. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsexml.js +291 -0
  277. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/select.js +697 -0
  278. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/stringstream.js +159 -0
  279. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenize.js +57 -0
  280. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenizejavascript.js +174 -0
  281. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/undo.js +413 -0
  282. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/unittests.js +44 -0
  283. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/util.js +133 -0
  284. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/jstest.html +56 -0
  285. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/manual.html +806 -0
  286. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/mixedtest.html +52 -0
  287. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/sparqltest.html +41 -0
  288. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/story.html +672 -0
  289. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/unittests.html +125 -0
  290. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/xhtmltest.xhtml +50 -0
  291. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/de.js +20 -0
  292. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/en.js +20 -0
  293. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/dialogs/sourcepopup.js +102 -0
  294. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/de.js +9 -0
  295. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/en.js +9 -0
  296. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/plugin.js +27 -0
  297. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
  298. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/en.js +1 -1
  299. data/public/javascripts/erp_app/ckeditor/plugins/table/dialogs/table.js +4 -4
  300. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.js +1 -1
  301. data/public/javascripts/erp_app/ckeditor/skins/kama/dialog.css +1 -1
  302. data/public/javascripts/erp_app/ckeditor/skins/kama/editor.css +3 -3
  303. data/public/javascripts/erp_app/ckeditor/skins/office2003/dialog.css +1 -1
  304. data/public/javascripts/erp_app/ckeditor/skins/office2003/editor.css +1 -1
  305. data/public/javascripts/erp_app/ckeditor/skins/v2/dialog.css +1 -1
  306. data/public/javascripts/erp_app/ckeditor/skins/v2/editor.css +1 -1
  307. data/public/javascripts/erp_app/ckeditor/themes/default/theme.js +2 -2
  308. data/public/javascripts/erp_app/ckeditor_example_config_override.js +44 -0
  309. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +229 -0
  310. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +482 -0
  311. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +425 -0
  312. data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +95 -0
  313. data/public/javascripts/erp_app/desktop/applications/configuration_management/stores.0.js +68 -0
  314. data/public/javascripts/erp_app/desktop/applications/control_panel/application_management_panel.js +2 -1
  315. data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +48 -47
  316. data/public/javascripts/erp_app/desktop/applications/control_panel/profile_management_panel.js +141 -84
  317. data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +1 -2
  318. data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +1 -2
  319. data/public/javascripts/erp_app/desktop/applications/system_management/application_role_management_panel.js +1 -2
  320. data/public/javascripts/erp_app/desktop/applications/user_management/module.js +10 -6
  321. data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +3 -9
  322. data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +4 -10
  323. data/public/javascripts/erp_app/ecommerce/credit_card_window.js +1 -1
  324. data/public/javascripts/erp_app/jquery_support.js +5 -5
  325. data/public/javascripts/erp_app/login/mobile.js +52 -0
  326. data/public/javascripts/erp_app/mobile/app.js +46 -0
  327. data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +14 -0
  328. data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +19 -0
  329. data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +24 -0
  330. data/public/javascripts/erp_app/mobile/applications/user_management/app.js +168 -0
  331. data/public/javascripts/erp_app/mobile/mobile_base.js +10 -0
  332. data/public/javascripts/erp_app/organizer/applications/crm/base.js +415 -117
  333. data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +8 -1
  334. data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +33 -36
  335. data/public/javascripts/erp_app/organizer/applications/crm/userinfo.js +215 -0
  336. data/public/javascripts/erp_app/organizer/layout.js +9 -11
  337. data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +1 -2
  338. data/public/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +2 -3
  339. data/public/javascripts/erp_app/shared/compass_ckeditor.js +7 -6
  340. data/public/javascripts/erp_app/shared/compass_codemirror.js +161 -162
  341. data/public/javascripts/erp_app/shared/configuration/configuration_form.js +278 -0
  342. data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +109 -0
  343. data/public/javascripts/erp_app/{coolclock → shared/coolclock}/coolclock.js +0 -0
  344. data/public/javascripts/erp_app/{coolclock → shared/coolclock}/moreskins.js +0 -0
  345. data/public/javascripts/erp_app/{coolclock → shared/coolclock}/tray_clock.js +0 -0
  346. data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +29 -28
  347. data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +3 -3
  348. data/public/javascripts/erp_app/shared/file_manager_tree.js +41 -25
  349. data/public/javascripts/erp_app/shared/file_upload/Ext.ux.AwesomeUploader.js +1 -1
  350. data/public/javascripts/erp_app/shared/file_upload/Ext.ux.XHRUpload.js +1 -1
  351. data/public/javascripts/erp_app/shared/file_upload/upload_window.js +245 -242
  352. data/public/javascripts/erp_app/shared/google_map_panel.js +82 -83
  353. data/public/javascripts/erp_app/shared/notes_grid.js +1 -2
  354. data/public/javascripts/erp_app/shared/preference_form.js +3 -5
  355. data/public/javascripts/erp_app/tinymce/Ext.ux.TinyMCE.js +689 -0
  356. data/public/javascripts/erp_app/tinymce/center_region.js +611 -0
  357. data/public/javascripts/erp_app/utility.js +284 -246
  358. data/public/javascripts/erp_app/widgets.js +39 -35
  359. data/public/javascripts/extjs/Ext.ux.form.MultiSelect.js +422 -0
  360. data/public/javascripts/extjs/ext-all-debug.js +15973 -12927
  361. data/public/javascripts/extjs/ext-all.js +1 -1
  362. data/public/javascripts/extjs/overrides.js +61 -0
  363. data/public/javascripts/sencha_touch/sencha-touch-all-debug.js +78370 -0
  364. data/public/javascripts/sencha_touch/sencha-touch-all.js +15 -0
  365. data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +5 -0
  366. data/public/stylesheets/erp_app/mobile/mobile.css +336 -0
  367. data/public/stylesheets/erp_app/{compass-ext-all.css → shared/compass-ext-all.css} +37 -1
  368. data/public/stylesheets/extjs/resources/css/ext-all-access.css +1 -1
  369. data/public/stylesheets/extjs/resources/css/ext-all-gray.css +1 -1
  370. data/public/stylesheets/extjs/resources/css/ext-all-scoped.css +1 -1
  371. data/public/stylesheets/extjs/resources/css/ext-all.css +1 -1
  372. data/public/stylesheets/extjs/resources/css/ext-ie-scoped.css +1 -1
  373. data/public/stylesheets/extjs/resources/css/ext-ie.css +1 -1
  374. data/public/stylesheets/extjs/resources/css/ext-sandbox.css +1 -1
  375. data/public/stylesheets/extjs/resources/css/ext-standard-scoped.css +1 -1
  376. data/public/stylesheets/extjs/resources/css/ext-standard.css +1 -1
  377. data/public/stylesheets/extjs/resources/sass/ext-all-access.scss +7 -0
  378. data/public/stylesheets/extjs/resources/sass/ext-all-gray.scss +6 -0
  379. data/public/stylesheets/extjs/resources/themes/images/access/boundlist/trigger-arrow.png +0 -0
  380. data/public/stylesheets/extjs/resources/themes/images/access/grid/refresh-disabled.gif +0 -0
  381. data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/{tab-bar-bg.gif → tab-bar-default-bg.gif} +0 -0
  382. data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-above.gif +0 -0
  383. data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-append.gif +0 -0
  384. data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-below.gif +0 -0
  385. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-focus-corners.gif +0 -0
  386. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-over-corners.gif +0 -0
  387. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-pressed-corners.gif +0 -0
  388. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-focus-corners.gif +0 -0
  389. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-over-corners.gif +0 -0
  390. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif +0 -0
  391. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-focus-corners.gif +0 -0
  392. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-over-corners.gif +0 -0
  393. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-pressed-corners.gif +0 -0
  394. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif +0 -0
  395. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif +0 -0
  396. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif +0 -0
  397. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif +0 -0
  398. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif +0 -0
  399. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif +0 -0
  400. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif +0 -0
  401. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif +0 -0
  402. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif +0 -0
  403. data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-corners.gif +0 -0
  404. data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-sides.gif +0 -0
  405. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif +0 -0
  406. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif +0 -0
  407. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif +0 -0
  408. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-bg.gif +0 -0
  409. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-corners.gif +0 -0
  410. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-sides.gif +0 -0
  411. data/public/stylesheets/extjs/resources/themes/images/default/tab-bar/tab-bar-default-bg.gif +0 -0
  412. data/public/stylesheets/extjs/resources/themes/images/default/tip/tip-corners.gif +0 -0
  413. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-bottom-sides.gif +0 -0
  414. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-left-sides.gif +0 -0
  415. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-right-sides.gif +0 -0
  416. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-corners.gif +0 -0
  417. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-sides.gif +0 -0
  418. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_all.scss +3 -0
  419. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_mixins.scss +6 -3
  420. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_core.scss +17 -17
  421. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_reset.scss +17 -7
  422. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/layout/_layout.scss +10 -6
  423. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_frame.scss +4 -4
  424. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_reset-extras.scss +144 -0
  425. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss +8 -4
  426. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss +3 -3
  427. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_messagebox.scss +5 -5
  428. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_resizable.scss +6 -6
  429. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_splitter.scss +8 -8
  430. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_tool.scss +1 -1
  431. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_core.scss +1 -1
  432. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_menu.scss +1 -0
  433. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_button.scss +38 -27
  434. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss +7 -7
  435. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss +1 -5
  436. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_grid.scss +56 -57
  437. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss +1 -1
  438. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_menu.scss +22 -16
  439. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_panel.scss +10 -4
  440. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss +2 -1
  441. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss +1 -1
  442. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_slider.scss +9 -11
  443. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tab.scss +68 -43
  444. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss +1 -1
  445. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss +3 -3
  446. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tree.scss +48 -31
  447. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss +4 -2
  448. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss +3 -2
  449. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss +3 -2
  450. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss +3 -3
  451. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss +1 -5
  452. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss +16 -15
  453. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss +10 -10
  454. data/public/stylesheets/extjs/resources/themes/templates/resources/sass/config.rb +2 -4
  455. data/public/stylesheets/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss +1 -0
  456. data/public/stylesheets/sencha_touch/resources/css/android.css +1 -0
  457. data/public/stylesheets/sencha_touch/resources/css/apple.css +1 -0
  458. data/public/stylesheets/sencha_touch/resources/css/bb6.css +1 -0
  459. data/public/stylesheets/sencha_touch/resources/css/sencha-touch.css +1 -0
  460. data/public/stylesheets/sencha_touch/resources/css/touch-charts.css +1 -0
  461. data/public/stylesheets/sencha_touch/resources/css-debug/android.css +6757 -0
  462. data/public/stylesheets/sencha_touch/resources/css-debug/apple.css +6766 -0
  463. data/public/stylesheets/sencha_touch/resources/css-debug/bb6.css +6352 -0
  464. data/public/stylesheets/sencha_touch/resources/css-debug/sencha-touch.css +6755 -0
  465. data/public/stylesheets/sencha_touch/resources/images/icon1.png +0 -0
  466. data/public/stylesheets/sencha_touch/resources/images/icon2.png +0 -0
  467. data/public/stylesheets/sencha_touch/resources/images/icon3.png +0 -0
  468. data/public/stylesheets/sencha_touch/resources/images/icon4.png +0 -0
  469. data/public/stylesheets/sencha_touch/resources/images/welcome.png +0 -0
  470. data/public/stylesheets/sencha_touch/resources/sass/android.scss +37 -0
  471. data/public/stylesheets/sencha_touch/resources/sass/apple.scss +39 -0
  472. data/public/stylesheets/sencha_touch/resources/sass/bb6.scss +66 -0
  473. data/public/stylesheets/sencha_touch/resources/sass/config-debug.rb +11 -0
  474. data/public/stylesheets/sencha_touch/resources/sass/config.rb +11 -0
  475. data/public/stylesheets/sencha_touch/resources/sass/sencha-touch.scss +18 -0
  476. data/public/stylesheets/sencha_touch/resources/themes/compass_init.rb +6 -0
  477. data/public/stylesheets/sencha_touch/resources/themes/images/default/check.png +0 -0
  478. data/public/stylesheets/sencha_touch/resources/themes/images/default/clear_icon.png +0 -0
  479. data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure.png +0 -0
  480. data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure2.png +0 -0
  481. data/public/stylesheets/sencha_touch/resources/themes/images/default/dotgrid.png +0 -0
  482. data/public/stylesheets/sencha_touch/resources/themes/images/default/loading.gif +0 -0
  483. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/action.png +0 -0
  484. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add.png +0 -0
  485. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add1.png +0 -0
  486. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add_black.png +0 -0
  487. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/address_book.png +0 -0
  488. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_down.png +0 -0
  489. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_left.png +0 -0
  490. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_right.png +0 -0
  491. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_up.png +0 -0
  492. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/at.png +0 -0
  493. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/atom.png +0 -0
  494. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment.png +0 -0
  495. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment2.png +0 -0
  496. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment3.png +0 -0
  497. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment_black.png +0 -0
  498. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/backspace.png +0 -0
  499. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_full.png +0 -0
  500. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_low.png +0 -0
  501. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_power.png +0 -0
  502. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/blank.png +0 -0
  503. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt.png +0 -0
  504. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt_side.png +0 -0
  505. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark1.png +0 -0
  506. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark2.png +0 -0
  507. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark_black.png +0 -0
  508. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmarks.png +0 -0
  509. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase1.png +0 -0
  510. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase2.png +0 -0
  511. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness1.png +0 -0
  512. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness2.png +0 -0
  513. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/broadcast.png +0 -0
  514. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bug.png +0 -0
  515. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bulb.png +0 -0
  516. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye1.png +0 -0
  517. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye2.png +0 -0
  518. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar.png +0 -0
  519. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar2.png +0 -0
  520. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar_add.png +0 -0
  521. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card1.png +0 -0
  522. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card2.png +0 -0
  523. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart1.png +0 -0
  524. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart2.png +0 -0
  525. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart3.png +0 -0
  526. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat.png +0 -0
  527. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat1.png +0 -0
  528. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat2.png +0 -0
  529. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat3.png +0 -0
  530. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat4.png +0 -0
  531. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black1.png +0 -0
  532. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black2.png +0 -0
  533. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check1.png +0 -0
  534. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check2.png +0 -0
  535. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black1.png +0 -0
  536. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black2.png +0 -0
  537. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_dotted.png +0 -0
  538. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle.png +0 -0
  539. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle2.png +0 -0
  540. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/clash.png +0 -0
  541. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud.png +0 -0
  542. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black.png +0 -0
  543. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload1.png +0 -0
  544. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload2.png +0 -0
  545. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_bolt.png +0 -0
  546. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_download.png +0 -0
  547. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code1.png +0 -0
  548. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code2.png +0 -0
  549. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code3.png +0 -0
  550. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass1.png +0 -0
  551. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass2.png +0 -0
  552. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass3.png +0 -0
  553. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose.png +0 -0
  554. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose1.png +0 -0
  555. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose2.png +0 -0
  556. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose3.png +0 -0
  557. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose_black.png +0 -0
  558. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/contract.png +0 -0
  559. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cube.png +0 -0
  560. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/data.png +0 -0
  561. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete.png +0 -0
  562. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete1.png +0 -0
  563. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black1.png +0 -0
  564. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black2.png +0 -0
  565. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc.png +0 -0
  566. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc2.png +0 -0
  567. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black.png +0 -0
  568. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black_landscape.png +0 -0
  569. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose1.png +0 -0
  570. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose2.png +0 -0
  571. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_delete.png +0 -0
  572. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_down.png +0 -0
  573. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_drawer.png +0 -0
  574. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_list.png +0 -0
  575. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_new.png +0 -0
  576. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_send.png +0 -0
  577. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_up.png +0 -0
  578. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs1.png +0 -0
  579. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs2.png +0 -0
  580. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black1.png +0 -0
  581. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black2.png +0 -0
  582. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download.png +0 -0
  583. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download1.png +0 -0
  584. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download2.png +0 -0
  585. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download_screen.png +0 -0
  586. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/eject.png +0 -0
  587. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty1.png +0 -0
  588. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty2.png +0 -0
  589. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer1.png +0 -0
  590. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer2.png +0 -0
  591. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/event_complete.png +0 -0
  592. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/expand.png +0 -0
  593. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites.png +0 -0
  594. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites1.png +0 -0
  595. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites_circle.png +0 -0
  596. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/fforward.png +0 -0
  597. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/find.png +0 -0
  598. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flag.png +0 -0
  599. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flickr2.png +0 -0
  600. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder.png +0 -0
  601. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_add.png +0 -0
  602. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black.png +0 -0
  603. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black_open.png +0 -0
  604. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete.png +0 -0
  605. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete2.png +0 -0
  606. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_lock.png +0 -0
  607. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_open2.png +0 -0
  608. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/font.png +0 -0
  609. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forbidden.png +0 -0
  610. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forward_black.png +0 -0
  611. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe1.png +0 -0
  612. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe2.png +0 -0
  613. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe_black.png +0 -0
  614. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/headphones.png +0 -0
  615. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart.png +0 -0
  616. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart_circle.png +0 -0
  617. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help.png +0 -0
  618. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help_black.png +0 -0
  619. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home.png +0 -0
  620. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home2.png +0 -0
  621. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/hot.png +0 -0
  622. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox1.png +0 -0
  623. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox2.png +0 -0
  624. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox3.png +0 -0
  625. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite.png +0 -0
  626. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite2.png +0 -0
  627. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info.png +0 -0
  628. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info2.png +0 -0
  629. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain.png +0 -0
  630. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain2.png +0 -0
  631. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/json.png +0 -0
  632. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lab.png +0 -0
  633. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/layout.png +0 -0
  634. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link1.png +0 -0
  635. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link2.png +0 -0
  636. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link_black.png +0 -0
  637. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/list.png +0 -0
  638. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate.png +0 -0
  639. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate1.png +0 -0
  640. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate2.png +0 -0
  641. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate3.png +0 -0
  642. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate4.png +0 -0
  643. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_closed.png +0 -0
  644. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_open.png +0 -0
  645. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/look.png +0 -0
  646. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop.png +0 -0
  647. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop2.png +0 -0
  648. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop_circle.png +0 -0
  649. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/magic.png +0 -0
  650. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail.png +0 -0
  651. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail1.png +0 -0
  652. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail2.png +0 -0
  653. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail3.png +0 -0
  654. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail4.png +0 -0
  655. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail5.png +0 -0
  656. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/maps.png +0 -0
  657. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mic.png +0 -0
  658. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus1.png +0 -0
  659. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus2.png +0 -0
  660. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black1.png +0 -0
  661. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black2.png +0 -0
  662. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor1.png +0 -0
  663. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor2.png +0 -0
  664. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor3.png +0 -0
  665. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor4.png +0 -0
  666. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/more.png +0 -0
  667. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mouse.png +0 -0
  668. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/move.png +0 -0
  669. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music1.png +0 -0
  670. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music2.png +0 -0
  671. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes1.png +0 -0
  672. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes2.png +0 -0
  673. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note1.png +0 -0
  674. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note2.png +0 -0
  675. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note3.png +0 -0
  676. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note_black.png +0 -0
  677. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nuclear.png +0 -0
  678. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/organize.png +0 -0
  679. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/outbox.png +0 -0
  680. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/pause.png +0 -0
  681. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone1.png +0 -0
  682. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone2.png +0 -0
  683. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_black.png +0 -0
  684. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring1.png +0 -0
  685. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring2.png +0 -0
  686. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo1.png +0 -0
  687. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo2.png +0 -0
  688. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo3.png +0 -0
  689. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black1.png +0 -0
  690. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black2.png +0 -0
  691. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos1.png +0 -0
  692. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos2.png +0 -0
  693. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos4.png +0 -0
  694. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/piechart.png +0 -0
  695. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play1.png +0 -0
  696. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play2.png +0 -0
  697. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black1.png +0 -0
  698. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black2.png +0 -0
  699. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/podcast.png +0 -0
  700. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power socket.png +0 -0
  701. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power_on.png +0 -0
  702. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print.png +0 -0
  703. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print2.png +0 -0
  704. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote1.png +0 -0
  705. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote2.png +0 -0
  706. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black1.png +0 -0
  707. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black2.png +0 -0
  708. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black3.png +0 -0
  709. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh.png +0 -0
  710. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh1.png +0 -0
  711. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh2.png +0 -0
  712. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh3.png +0 -0
  713. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh5.png +0 -0
  714. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/reply.png +0 -0
  715. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/replytoall.png +0 -0
  716. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize.png +0 -0
  717. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize_black.png +0 -0
  718. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rewind.png +0 -0
  719. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right.png +0 -0
  720. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right2.png +0 -0
  721. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss.png +0 -0
  722. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss2.png +0 -0
  723. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black.png +0 -0
  724. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black1.png +0 -0
  725. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black2.png +0 -0
  726. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/screens.png +0 -0
  727. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search.png +0 -0
  728. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search1.png +0 -0
  729. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search2.png +0 -0
  730. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search_black.png +0 -0
  731. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/server.png +0 -0
  732. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/servers.png +0 -0
  733. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings.png +0 -0
  734. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings1.png +0 -0
  735. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings10.png +0 -0
  736. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings11.png +0 -0
  737. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings3.png +0 -0
  738. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings4.png +0 -0
  739. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings5.png +0 -0
  740. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings6.png +0 -0
  741. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings7.png +0 -0
  742. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings8.png +0 -0
  743. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings9.png +0 -0
  744. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings_black.png +0 -0
  745. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/share.png +0 -0
  746. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield1.png +0 -0
  747. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield2.png +0 -0
  748. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop1.png +0 -0
  749. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop2.png +0 -0
  750. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shuffle.png +0 -0
  751. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_backforth.png +0 -0
  752. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_cross.png +0 -0
  753. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright.png +0 -0
  754. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright2.png +0 -0
  755. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_split.png +0 -0
  756. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_switch.png +0 -0
  757. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_uturn.png +0 -0
  758. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces1.png +0 -0
  759. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces2.png +0 -0
  760. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer1.png +0 -0
  761. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer2.png +0 -0
  762. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black1.png +0 -0
  763. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black2.png +0 -0
  764. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/star.png +0 -0
  765. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop.png +0 -0
  766. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop1.png +0 -0
  767. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop2.png +0 -0
  768. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sync.png +0 -0
  769. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tabbed_book.png +0 -0
  770. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag.png +0 -0
  771. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag_black.png +0 -0
  772. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tags.png +0 -0
  773. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team.png +0 -0
  774. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team1.png +0 -0
  775. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time.png +0 -0
  776. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time_repeat.png +0 -0
  777. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash.png +0 -0
  778. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash2.png +0 -0
  779. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash_black.png +0 -0
  780. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tree.png +0 -0
  781. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tv.png +0 -0
  782. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tweak.png +0 -0
  783. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter1.png +0 -0
  784. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter2.png +0 -0
  785. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up1.png +0 -0
  786. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up2.png +0 -0
  787. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up_black.png +0 -0
  788. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/upload2.png +0 -0
  789. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user.png +0 -0
  790. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user3.png +0 -0
  791. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_add.png +0 -0
  792. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_business.png +0 -0
  793. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_fave.png +0 -0
  794. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list.png +0 -0
  795. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list2.png +0 -0
  796. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remote1.png +0 -0
  797. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remove2.png +0 -0
  798. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_send.png +0 -0
  799. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video.png +0 -0
  800. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black1.png +0 -0
  801. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black2.png +0 -0
  802. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume.png +0 -0
  803. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_black.png +0 -0
  804. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_down.png +0 -0
  805. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_mute.png +0 -0
  806. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_up.png +0 -0
  807. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warming_dotted.png +0 -0
  808. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warning_black.png +0 -0
  809. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi.png +0 -0
  810. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi2.png +0 -0
  811. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi3.png +0 -0
  812. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi4.png +0 -0
  813. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/window.png +0 -0
  814. data/public/stylesheets/sencha_touch/resources/themes/images/default/pullarrow.png +0 -0
  815. data/public/stylesheets/sencha_touch/resources/themes/images/default/select_mask.png +0 -0
  816. data/public/stylesheets/sencha_touch/resources/themes/images/default/tip.png +0 -0
  817. data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_horizontal.png +0 -0
  818. data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_right.png +0 -0
  819. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglebg.png +0 -0
  820. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglemask.png +0 -0
  821. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumb.png +0 -0
  822. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbbg.png +0 -0
  823. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbmask.png +0 -0
  824. data/public/stylesheets/sencha_touch/resources/themes/images/default/trackmask_outer.png +0 -0
  825. data/public/stylesheets/sencha_touch/resources/themes/lib/theme_images.rb +18 -0
  826. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_all.scss +2 -0
  827. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_core.scss +3 -0
  828. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_global.scss +2 -0
  829. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_mixins.scss +196 -0
  830. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_variables.scss +116 -0
  831. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_widgets.scss +16 -0
  832. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_core.scss +189 -0
  833. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_layout.scss +362 -0
  834. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_reset.scss +62 -0
  835. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_buttons.scss +354 -0
  836. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_carousel.scss +113 -0
  837. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders-basic.scss +102 -0
  838. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders.scss +149 -0
  839. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form.scss +608 -0
  840. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_img.scss +5 -0
  841. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_indexbar.scss +76 -0
  842. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_list.scss +401 -0
  843. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_loading-spinner.scss +121 -0
  844. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_map.scss +11 -0
  845. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_media.scss +21 -0
  846. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_msgbox.scss +94 -0
  847. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_panel.scss +79 -0
  848. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_picker.scss +154 -0
  849. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_sheets.scss +52 -0
  850. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_tabs.scss +269 -0
  851. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar-forms.scss +182 -0
  852. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar.scss +156 -0
  853. data/public/stylesheets/sencha_touch/resources/themes/templates/project/manifest.rb +1 -0
  854. data/public/stylesheets/sencha_touch/resources/themes/templates/project/sencha-touch.scss +17 -0
  855. metadata +3251 -2688
  856. data/README.rdoc +0 -2
  857. data/config/initializers/erp_app.rb +0 -4
  858. data/lib/erp_app/extensions/active_record/acts_as_app_container.rb +0 -72
  859. data/lib/erp_app/extensions/railties/action_view.rb +0 -110
  860. data/lib/erp_app/widgets/railties/action_view.rb +0 -36
  861. data/lib/erp_app/widgets/railties/engine.rb +0 -55
  862. data/public/images/icons/add/Thumbs.db +0 -0
  863. data/public/images/icons/calendar/Thumbs.db +0 -0
  864. data/public/images/icons/copy/Thumbs.db +0 -0
  865. data/public/images/icons/cut/Thumbs.db +0 -0
  866. data/public/images/icons/delete/Thumbs.db +0 -0
  867. data/public/images/icons/edit/Thumbs.db +0 -0
  868. data/public/images/icons/folder/Thumbs.db +0 -0
  869. data/public/images/icons/gear/Thumbs.db +0 -0
  870. data/public/images/icons/globe/Thumbs.db +0 -0
  871. data/public/images/icons/grid/Thumbs.db +0 -0
  872. data/public/images/icons/help/Thumbs.db +0 -0
  873. data/public/images/icons/information/Thumbs.db +0 -0
  874. data/public/images/icons/key/Thumbs.db +0 -0
  875. data/public/images/icons/log_out/Thumbs.db +0 -0
  876. data/public/images/icons/mail/Thumbs.db +0 -0
  877. data/public/images/icons/new/Thumbs.db +0 -0
  878. data/public/images/icons/next/Thumbs.db +0 -0
  879. data/public/images/icons/open/Thumbs.db +0 -0
  880. data/public/images/icons/paste/Thumbs.db +0 -0
  881. data/public/images/icons/picture/Thumbs.db +0 -0
  882. data/public/images/icons/presentation/Thumbs.db +0 -0
  883. data/public/images/icons/preview/Thumbs.db +0 -0
  884. data/public/images/icons/previous/Thumbs.db +0 -0
  885. data/public/images/icons/print/Thumbs.db +0 -0
  886. data/public/images/icons/properties/Thumbs.db +0 -0
  887. data/public/images/icons/redo/Thumbs.db +0 -0
  888. data/public/images/icons/refresh/Thumbs.db +0 -0
  889. data/public/images/icons/remove/Thumbs.db +0 -0
  890. data/public/images/icons/rename/Thumbs.db +0 -0
  891. data/public/images/icons/save/Thumbs.db +0 -0
  892. data/public/images/icons/search/Thumbs.db +0 -0
  893. data/public/images/icons/send/Thumbs.db +0 -0
  894. data/public/images/icons/settings/Thumbs.db +0 -0
  895. data/public/images/icons/synchronize/Thumbs.db +0 -0
  896. data/public/images/icons/undo/Thumbs.db +0 -0
  897. data/public/images/icons/upload/Thumbs.db +0 -0
  898. data/public/images/icons/user/Thumbs.db +0 -0
  899. data/public/images/icons/zoom_in/Thumbs.db +0 -0
  900. data/public/images/icons/zoom_out/Thumbs.db +0 -0
  901. data/public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/Thumbs.db +0 -0
  902. data/public/javascripts/erp_app/shared/ajax_pagination.js +0 -33
  903. data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/tab-bar-bg.png +0 -0
  904. data/public/stylesheets/extjs/resources/themes/templates/resources/css/my-ext-theme.css +0 -59
  905. data/spec/dummy/db/schema.rb +0 -709
  906. data/spec/dummy/db/spec.sqlite3 +0 -0
  907. data/spec/dummy/log/RAILS_ENV=spec.log +0 -0
  908. data/spec/dummy/log/development.log +0 -0
  909. data/spec/dummy/log/spec.log +0 -52150
@@ -0,0 +1,1208 @@
1
+ /*
2
+ Copyright (c) 2008-2009 Yahoo! Inc. All rights reserved.
3
+ The copyrights embodied in the content of this file are licensed by
4
+ Yahoo! Inc. under the BSD (revised) open source license
5
+
6
+ @author Vlad Dan Dascalescu <dandv@yahoo-inc.com>
7
+
8
+
9
+ Tokenizer for PHP code
10
+
11
+ References:
12
+ + http://php.net/manual/en/reserved.php
13
+ + http://php.net/tokens
14
+ + get_defined_constants(), get_defined_functions(), get_declared_classes()
15
+ executed on a realistic (not vanilla) PHP installation with typical LAMP modules.
16
+ Specifically, the PHP bundled with the Uniform Web Server (www.uniformserver.com).
17
+
18
+ */
19
+
20
+
21
+ // add the forEach method for JS engines that don't support it (e.g. IE)
22
+ // code from https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference:Objects:Array:forEach
23
+ if (!Array.prototype.forEach)
24
+ {
25
+ Array.prototype.forEach = function(fun /*, thisp*/)
26
+ {
27
+ var len = this.length;
28
+ if (typeof fun != "function")
29
+ throw new TypeError();
30
+
31
+ var thisp = arguments[1];
32
+ for (var i = 0; i < len; i++)
33
+ {
34
+ if (i in this)
35
+ fun.call(thisp, this[i], i, this);
36
+ }
37
+ };
38
+ }
39
+
40
+
41
+ var tokenizePHP = (function() {
42
+ /* A map of PHP's reserved words (keywords, predefined classes, functions and
43
+ constants. Each token has a type ('keyword', 'operator' etc.) and a style.
44
+ The style corresponds to the CSS span class in phpcolors.css.
45
+
46
+ Keywords can be of three types:
47
+ a - takes an expression and forms a statement - e.g. if
48
+ b - takes just a statement - e.g. else
49
+ c - takes an optinoal expression, but no statement - e.g. return
50
+ This distinction gives the parser enough information to parse
51
+ correct code correctly (we don't care that much how we parse
52
+ incorrect code).
53
+
54
+ Reference: http://us.php.net/manual/en/reserved.php
55
+ */
56
+ var keywords = function(){
57
+ function token(type, style){
58
+ return {type: type, style: style};
59
+ }
60
+ var result = {};
61
+
62
+ // for each(var element in ["...", "..."]) can pick up elements added to
63
+ // Array.prototype, so we'll use the loop structure below. See also
64
+ // http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/for_each...in
65
+
66
+ // keywords that take an expression and form a statement
67
+ ["if", "elseif", "while", "declare"].forEach(function(element, index, array) {
68
+ result[element] = token("keyword a", "php-keyword");
69
+ });
70
+
71
+ // keywords that take just a statement
72
+ ["do", "else", "try" ].forEach(function(element, index, array) {
73
+ result[element] = token("keyword b", "php-keyword");
74
+ });
75
+
76
+ // keywords that take an optional expression, but no statement
77
+ ["return", "break", "continue", // the expression is optional
78
+ "new", "clone", "throw" // the expression is mandatory
79
+ ].forEach(function(element, index, array) {
80
+ result[element] = token("keyword c", "php-keyword");
81
+ });
82
+
83
+ ["__CLASS__", "__DIR__", "__FILE__", "__FUNCTION__", "__METHOD__", "__NAMESPACE__"].forEach(function(element, index, array) {
84
+ result[element] = token("atom", "php-compile-time-constant");
85
+ });
86
+
87
+ ["true", "false", "null"].forEach(function(element, index, array) {
88
+ result[element] = token("atom", "php-atom");
89
+ });
90
+
91
+ ["and", "or", "xor", "instanceof"].forEach(function(element, index, array) {
92
+ result[element] = token("operator", "php-keyword php-operator");
93
+ });
94
+
95
+ ["class", "interface"].forEach(function(element, index, array) {
96
+ result[element] = token("class", "php-keyword");
97
+ });
98
+ ["namespace", "use", "extends", "implements"].forEach(function(element, index, array) {
99
+ result[element] = token("namespace", "php-keyword");
100
+ });
101
+
102
+ // reserved "language constructs"... http://php.net/manual/en/reserved.php
103
+ [ "die", "echo", "empty", "exit", "eval", "include", "include_once", "isset",
104
+ "list", "require", "require_once", "return", "print", "unset",
105
+ "array" // a keyword rather, but mandates a parenthesized parameter list
106
+ ].forEach(function(element, index, array) {
107
+ result[element] = token("t_string", "php-reserved-language-construct");
108
+ });
109
+
110
+ result["switch"] = token("switch", "php-keyword");
111
+ result["case"] = token("case", "php-keyword");
112
+ result["default"] = token("default", "php-keyword");
113
+ result["catch"] = token("catch", "php-keyword");
114
+ result["function"] = token("function", "php-keyword");
115
+
116
+ // http://php.net/manual/en/control-structures.alternative-syntax.php must be followed by a ':'
117
+ ["endif", "endwhile", "endfor", "endforeach", "endswitch", "enddeclare"].forEach(function(element, index, array) {
118
+ result[element] = token("altsyntaxend", "php-keyword");
119
+ });
120
+
121
+ result["const"] = token("const", "php-keyword");
122
+
123
+ ["final", "private", "protected", "public", "global", "static"].forEach(function(element, index, array) {
124
+ result[element] = token("modifier", "php-keyword");
125
+ });
126
+ result["var"] = token("modifier", "php-keyword deprecated");
127
+ result["abstract"] = token("abstract", "php-keyword");
128
+
129
+ result["foreach"] = token("foreach", "php-keyword");
130
+ result["as"] = token("as", "php-keyword");
131
+ result["for"] = token("for", "php-keyword");
132
+
133
+ // PHP built-in functions - output of get_defined_functions()["internal"]
134
+ [ "zend_version", "func_num_args", "func_get_arg", "func_get_args", "strlen",
135
+ "strcmp", "strncmp", "strcasecmp", "strncasecmp", "each", "error_reporting",
136
+ "define", "defined", "get_class", "get_parent_class", "method_exists",
137
+ "property_exists", "class_exists", "interface_exists", "function_exists",
138
+ "get_included_files", "get_required_files", "is_subclass_of", "is_a",
139
+ "get_class_vars", "get_object_vars", "get_class_methods", "trigger_error",
140
+ "user_error", "set_error_handler", "restore_error_handler",
141
+ "set_exception_handler", "restore_exception_handler", "get_declared_classes",
142
+ "get_declared_interfaces", "get_defined_functions", "get_defined_vars",
143
+ "create_function", "get_resource_type", "get_loaded_extensions",
144
+ "extension_loaded", "get_extension_funcs", "get_defined_constants",
145
+ "debug_backtrace", "debug_print_backtrace", "bcadd", "bcsub", "bcmul", "bcdiv",
146
+ "bcmod", "bcpow", "bcsqrt", "bcscale", "bccomp", "bcpowmod", "jdtogregorian",
147
+ "gregoriantojd", "jdtojulian", "juliantojd", "jdtojewish", "jewishtojd",
148
+ "jdtofrench", "frenchtojd", "jddayofweek", "jdmonthname", "easter_date",
149
+ "easter_days", "unixtojd", "jdtounix", "cal_to_jd", "cal_from_jd",
150
+ "cal_days_in_month", "cal_info", "variant_set", "variant_add", "variant_cat",
151
+ "variant_sub", "variant_mul", "variant_and", "variant_div", "variant_eqv",
152
+ "variant_idiv", "variant_imp", "variant_mod", "variant_or", "variant_pow",
153
+ "variant_xor", "variant_abs", "variant_fix", "variant_int", "variant_neg",
154
+ "variant_not", "variant_round", "variant_cmp", "variant_date_to_timestamp",
155
+ "variant_date_from_timestamp", "variant_get_type", "variant_set_type",
156
+ "variant_cast", "com_create_guid", "com_event_sink", "com_print_typeinfo",
157
+ "com_message_pump", "com_load_typelib", "com_get_active_object", "ctype_alnum",
158
+ "ctype_alpha", "ctype_cntrl", "ctype_digit", "ctype_lower", "ctype_graph",
159
+ "ctype_print", "ctype_punct", "ctype_space", "ctype_upper", "ctype_xdigit",
160
+ "strtotime", "date", "idate", "gmdate", "mktime", "gmmktime", "checkdate",
161
+ "strftime", "gmstrftime", "time", "localtime", "getdate", "date_create",
162
+ "date_parse", "date_format", "date_modify", "date_timezone_get",
163
+ "date_timezone_set", "date_offset_get", "date_time_set", "date_date_set",
164
+ "date_isodate_set", "timezone_open", "timezone_name_get",
165
+ "timezone_name_from_abbr", "timezone_offset_get", "timezone_transitions_get",
166
+ "timezone_identifiers_list", "timezone_abbreviations_list",
167
+ "date_default_timezone_set", "date_default_timezone_get", "date_sunrise",
168
+ "date_sunset", "date_sun_info", "filter_input", "filter_var",
169
+ "filter_input_array", "filter_var_array", "filter_list", "filter_has_var",
170
+ "filter_id", "ftp_connect", "ftp_login", "ftp_pwd", "ftp_cdup", "ftp_chdir",
171
+ "ftp_exec", "ftp_raw", "ftp_mkdir", "ftp_rmdir", "ftp_chmod", "ftp_alloc",
172
+ "ftp_nlist", "ftp_rawlist", "ftp_systype", "ftp_pasv", "ftp_get", "ftp_fget",
173
+ "ftp_put", "ftp_fput", "ftp_size", "ftp_mdtm", "ftp_rename", "ftp_delete",
174
+ "ftp_site", "ftp_close", "ftp_set_option", "ftp_get_option", "ftp_nb_fget",
175
+ "ftp_nb_get", "ftp_nb_continue", "ftp_nb_put", "ftp_nb_fput", "ftp_quit",
176
+ "hash", "hash_file", "hash_hmac", "hash_hmac_file", "hash_init", "hash_update",
177
+ "hash_update_stream", "hash_update_file", "hash_final", "hash_algos", "iconv",
178
+ "ob_iconv_handler", "iconv_get_encoding", "iconv_set_encoding", "iconv_strlen",
179
+ "iconv_substr", "iconv_strpos", "iconv_strrpos", "iconv_mime_encode",
180
+ "iconv_mime_decode", "iconv_mime_decode_headers", "json_encode", "json_decode",
181
+ "odbc_autocommit", "odbc_binmode", "odbc_close", "odbc_close_all",
182
+ "odbc_columns", "odbc_commit", "odbc_connect", "odbc_cursor",
183
+ "odbc_data_source", "odbc_execute", "odbc_error", "odbc_errormsg", "odbc_exec",
184
+ "odbc_fetch_array", "odbc_fetch_object", "odbc_fetch_row", "odbc_fetch_into",
185
+ "odbc_field_len", "odbc_field_scale", "odbc_field_name", "odbc_field_type",
186
+ "odbc_field_num", "odbc_free_result", "odbc_gettypeinfo", "odbc_longreadlen",
187
+ "odbc_next_result", "odbc_num_fields", "odbc_num_rows", "odbc_pconnect",
188
+ "odbc_prepare", "odbc_result", "odbc_result_all", "odbc_rollback",
189
+ "odbc_setoption", "odbc_specialcolumns", "odbc_statistics", "odbc_tables",
190
+ "odbc_primarykeys", "odbc_columnprivileges", "odbc_tableprivileges",
191
+ "odbc_foreignkeys", "odbc_procedures", "odbc_procedurecolumns", "odbc_do",
192
+ "odbc_field_precision", "preg_match", "preg_match_all", "preg_replace",
193
+ "preg_replace_callback", "preg_split", "preg_quote", "preg_grep",
194
+ "preg_last_error", "session_name", "session_module_name", "session_save_path",
195
+ "session_id", "session_regenerate_id", "session_decode", "session_register",
196
+ "session_unregister", "session_is_registered", "session_encode",
197
+ "session_start", "session_destroy", "session_unset",
198
+ "session_set_save_handler", "session_cache_limiter", "session_cache_expire",
199
+ "session_set_cookie_params", "session_get_cookie_params",
200
+ "session_write_close", "session_commit", "spl_classes", "spl_autoload",
201
+ "spl_autoload_extensions", "spl_autoload_register", "spl_autoload_unregister",
202
+ "spl_autoload_functions", "spl_autoload_call", "class_parents",
203
+ "class_implements", "spl_object_hash", "iterator_to_array", "iterator_count",
204
+ "iterator_apply", "constant", "bin2hex", "sleep", "usleep", "flush",
205
+ "wordwrap", "htmlspecialchars", "htmlentities", "html_entity_decode",
206
+ "htmlspecialchars_decode", "get_html_translation_table", "sha1", "sha1_file",
207
+ "md5", "md5_file", "crc32", "iptcparse", "iptcembed", "getimagesize",
208
+ "image_type_to_mime_type", "image_type_to_extension", "phpinfo", "phpversion",
209
+ "phpcredits", "php_logo_guid", "php_real_logo_guid", "php_egg_logo_guid",
210
+ "zend_logo_guid", "php_sapi_name", "php_uname", "php_ini_scanned_files",
211
+ "strnatcmp", "strnatcasecmp", "substr_count", "strspn", "strcspn", "strtok",
212
+ "strtoupper", "strtolower", "strpos", "stripos", "strrpos", "strripos",
213
+ "strrev", "hebrev", "hebrevc", "nl2br", "basename", "dirname", "pathinfo",
214
+ "stripslashes", "stripcslashes", "strstr", "stristr", "strrchr", "str_shuffle",
215
+ "str_word_count", "str_split", "strpbrk", "substr_compare", "strcoll",
216
+ "substr", "substr_replace", "quotemeta", "ucfirst", "ucwords", "strtr",
217
+ "addslashes", "addcslashes", "rtrim", "str_replace", "str_ireplace",
218
+ "str_repeat", "count_chars", "chunk_split", "trim", "ltrim", "strip_tags",
219
+ "similar_text", "explode", "implode", "setlocale", "localeconv", "soundex",
220
+ "levenshtein", "chr", "ord", "parse_str", "str_pad", "chop", "strchr",
221
+ "sprintf", "printf", "vprintf", "vsprintf", "fprintf", "vfprintf", "sscanf",
222
+ "fscanf", "parse_url", "urlencode", "urldecode", "rawurlencode",
223
+ "rawurldecode", "http_build_query", "unlink", "exec", "system",
224
+ "escapeshellcmd", "escapeshellarg", "passthru", "shell_exec", "proc_open",
225
+ "proc_close", "proc_terminate", "proc_get_status", "rand", "srand",
226
+ "getrandmax", "mt_rand", "mt_srand", "mt_getrandmax", "getservbyname",
227
+ "getservbyport", "getprotobyname", "getprotobynumber", "getmyuid", "getmygid",
228
+ "getmypid", "getmyinode", "getlastmod", "base64_decode", "base64_encode",
229
+ "convert_uuencode", "convert_uudecode", "abs", "ceil", "floor", "round", "sin",
230
+ "cos", "tan", "asin", "acos", "atan", "atan2", "sinh", "cosh", "tanh", "pi",
231
+ "is_finite", "is_nan", "is_infinite", "pow", "exp", "log", "log10", "sqrt",
232
+ "hypot", "deg2rad", "rad2deg", "bindec", "hexdec", "octdec", "decbin",
233
+ "decoct", "dechex", "base_convert", "number_format", "fmod", "ip2long",
234
+ "long2ip", "getenv", "putenv", "microtime", "gettimeofday", "uniqid",
235
+ "quoted_printable_decode", "convert_cyr_string", "get_current_user",
236
+ "set_time_limit", "get_cfg_var", "magic_quotes_runtime",
237
+ "set_magic_quotes_runtime", "get_magic_quotes_gpc", "get_magic_quotes_runtime",
238
+ "import_request_variables", "error_log", "error_get_last", "call_user_func",
239
+ "call_user_func_array", "call_user_method", "call_user_method_array",
240
+ "serialize", "unserialize", "var_dump", "var_export", "debug_zval_dump",
241
+ "print_r", "memory_get_usage", "memory_get_peak_usage",
242
+ "register_shutdown_function", "register_tick_function",
243
+ "unregister_tick_function", "highlight_file", "show_source",
244
+ "highlight_string", "php_strip_whitespace", "ini_get", "ini_get_all",
245
+ "ini_set", "ini_alter", "ini_restore", "get_include_path", "set_include_path",
246
+ "restore_include_path", "setcookie", "setrawcookie", "header", "headers_sent",
247
+ "headers_list", "connection_aborted", "connection_status", "ignore_user_abort",
248
+ "parse_ini_file", "is_uploaded_file", "move_uploaded_file", "gethostbyaddr",
249
+ "gethostbyname", "gethostbynamel", "intval", "floatval", "doubleval", "strval",
250
+ "gettype", "settype", "is_null", "is_resource", "is_bool", "is_long",
251
+ "is_float", "is_int", "is_integer", "is_double", "is_real", "is_numeric",
252
+ "is_string", "is_array", "is_object", "is_scalar", "is_callable", "ereg",
253
+ "ereg_replace", "eregi", "eregi_replace", "split", "spliti", "join",
254
+ "sql_regcase", "dl", "pclose", "popen", "readfile", "rewind", "rmdir", "umask",
255
+ "fclose", "feof", "fgetc", "fgets", "fgetss", "fread", "fopen", "fpassthru",
256
+ "ftruncate", "fstat", "fseek", "ftell", "fflush", "fwrite", "fputs", "mkdir",
257
+ "rename", "copy", "tempnam", "tmpfile", "file", "file_get_contents",
258
+ "file_put_contents", "stream_select", "stream_context_create",
259
+ "stream_context_set_params", "stream_context_set_option",
260
+ "stream_context_get_options", "stream_context_get_default",
261
+ "stream_filter_prepend", "stream_filter_append", "stream_filter_remove",
262
+ "stream_socket_client", "stream_socket_server", "stream_socket_accept",
263
+ "stream_socket_get_name", "stream_socket_recvfrom", "stream_socket_sendto",
264
+ "stream_socket_enable_crypto", "stream_socket_shutdown",
265
+ "stream_copy_to_stream", "stream_get_contents", "fgetcsv", "fputcsv", "flock",
266
+ "get_meta_tags", "stream_set_write_buffer", "set_file_buffer",
267
+ "set_socket_blocking", "stream_set_blocking", "socket_set_blocking",
268
+ "stream_get_meta_data", "stream_get_line", "stream_wrapper_register",
269
+ "stream_register_wrapper", "stream_wrapper_unregister",
270
+ "stream_wrapper_restore", "stream_get_wrappers", "stream_get_transports",
271
+ "get_headers", "stream_set_timeout", "socket_set_timeout", "socket_get_status",
272
+ "realpath", "fsockopen", "pfsockopen", "pack", "unpack", "get_browser",
273
+ "crypt", "opendir", "closedir", "chdir", "getcwd", "rewinddir", "readdir",
274
+ "dir", "scandir", "glob", "fileatime", "filectime", "filegroup", "fileinode",
275
+ "filemtime", "fileowner", "fileperms", "filesize", "filetype", "file_exists",
276
+ "is_writable", "is_writeable", "is_readable", "is_executable", "is_file",
277
+ "is_dir", "is_link", "stat", "lstat", "chown", "chgrp", "chmod", "touch",
278
+ "clearstatcache", "disk_total_space", "disk_free_space", "diskfreespace",
279
+ "mail", "ezmlm_hash", "openlog", "syslog", "closelog",
280
+ "define_syslog_variables", "lcg_value", "metaphone", "ob_start", "ob_flush",
281
+ "ob_clean", "ob_end_flush", "ob_end_clean", "ob_get_flush", "ob_get_clean",
282
+ "ob_get_length", "ob_get_level", "ob_get_status", "ob_get_contents",
283
+ "ob_implicit_flush", "ob_list_handlers", "ksort", "krsort", "natsort",
284
+ "natcasesort", "asort", "arsort", "sort", "rsort", "usort", "uasort", "uksort",
285
+ "shuffle", "array_walk", "array_walk_recursive", "count", "end", "prev",
286
+ "next", "reset", "current", "key", "min", "max", "in_array", "array_search",
287
+ "extract", "compact", "array_fill", "array_fill_keys", "range",
288
+ "array_multisort", "array_push", "array_pop", "array_shift", "array_unshift",
289
+ "array_splice", "array_slice", "array_merge", "array_merge_recursive",
290
+ "array_keys", "array_values", "array_count_values", "array_reverse",
291
+ "array_reduce", "array_pad", "array_flip", "array_change_key_case",
292
+ "array_rand", "array_unique", "array_intersect", "array_intersect_key",
293
+ "array_intersect_ukey", "array_uintersect", "array_intersect_assoc",
294
+ "array_uintersect_assoc", "array_intersect_uassoc", "array_uintersect_uassoc",
295
+ "array_diff", "array_diff_key", "array_diff_ukey", "array_udiff",
296
+ "array_diff_assoc", "array_udiff_assoc", "array_diff_uassoc",
297
+ "array_udiff_uassoc", "array_sum", "array_product", "array_filter",
298
+ "array_map", "array_chunk", "array_combine", "array_key_exists", "pos",
299
+ "sizeof", "key_exists", "assert", "assert_options", "version_compare",
300
+ "str_rot13", "stream_get_filters", "stream_filter_register",
301
+ "stream_bucket_make_writeable", "stream_bucket_prepend",
302
+ "stream_bucket_append", "stream_bucket_new", "output_add_rewrite_var",
303
+ "output_reset_rewrite_vars", "sys_get_temp_dir", "token_get_all", "token_name",
304
+ "readgzfile", "gzrewind", "gzclose", "gzeof", "gzgetc", "gzgets", "gzgetss",
305
+ "gzread", "gzopen", "gzpassthru", "gzseek", "gztell", "gzwrite", "gzputs",
306
+ "gzfile", "gzcompress", "gzuncompress", "gzdeflate", "gzinflate", "gzencode",
307
+ "ob_gzhandler", "zlib_get_coding_type", "libxml_set_streams_context",
308
+ "libxml_use_internal_errors", "libxml_get_last_error", "libxml_clear_errors",
309
+ "libxml_get_errors", "dom_import_simplexml", "simplexml_load_file",
310
+ "simplexml_load_string", "simplexml_import_dom", "wddx_serialize_value",
311
+ "wddx_serialize_vars", "wddx_packet_start", "wddx_packet_end", "wddx_add_vars",
312
+ "wddx_deserialize", "xml_parser_create", "xml_parser_create_ns",
313
+ "xml_set_object", "xml_set_element_handler", "xml_set_character_data_handler",
314
+ "xml_set_processing_instruction_handler", "xml_set_default_handler",
315
+ "xml_set_unparsed_entity_decl_handler", "xml_set_notation_decl_handler",
316
+ "xml_set_external_entity_ref_handler", "xml_set_start_namespace_decl_handler",
317
+ "xml_set_end_namespace_decl_handler", "xml_parse", "xml_parse_into_struct",
318
+ "xml_get_error_code", "xml_error_string", "xml_get_current_line_number",
319
+ "xml_get_current_column_number", "xml_get_current_byte_index",
320
+ "xml_parser_free", "xml_parser_set_option", "xml_parser_get_option",
321
+ "utf8_encode", "utf8_decode", "xmlwriter_open_uri", "xmlwriter_open_memory",
322
+ "xmlwriter_set_indent", "xmlwriter_set_indent_string",
323
+ "xmlwriter_start_comment", "xmlwriter_end_comment",
324
+ "xmlwriter_start_attribute", "xmlwriter_end_attribute",
325
+ "xmlwriter_write_attribute", "xmlwriter_start_attribute_ns",
326
+ "xmlwriter_write_attribute_ns", "xmlwriter_start_element",
327
+ "xmlwriter_end_element", "xmlwriter_full_end_element",
328
+ "xmlwriter_start_element_ns", "xmlwriter_write_element",
329
+ "xmlwriter_write_element_ns", "xmlwriter_start_pi", "xmlwriter_end_pi",
330
+ "xmlwriter_write_pi", "xmlwriter_start_cdata", "xmlwriter_end_cdata",
331
+ "xmlwriter_write_cdata", "xmlwriter_text", "xmlwriter_write_raw",
332
+ "xmlwriter_start_document", "xmlwriter_end_document",
333
+ "xmlwriter_write_comment", "xmlwriter_start_dtd", "xmlwriter_end_dtd",
334
+ "xmlwriter_write_dtd", "xmlwriter_start_dtd_element",
335
+ "xmlwriter_end_dtd_element", "xmlwriter_write_dtd_element",
336
+ "xmlwriter_start_dtd_attlist", "xmlwriter_end_dtd_attlist",
337
+ "xmlwriter_write_dtd_attlist", "xmlwriter_start_dtd_entity",
338
+ "xmlwriter_end_dtd_entity", "xmlwriter_write_dtd_entity",
339
+ "xmlwriter_output_memory", "xmlwriter_flush", "gd_info", "imagearc",
340
+ "imageellipse", "imagechar", "imagecharup", "imagecolorat",
341
+ "imagecolorallocate", "imagepalettecopy", "imagecreatefromstring",
342
+ "imagecolorclosest", "imagecolordeallocate", "imagecolorresolve",
343
+ "imagecolorexact", "imagecolorset", "imagecolortransparent",
344
+ "imagecolorstotal", "imagecolorsforindex", "imagecopy", "imagecopymerge",
345
+ "imagecopymergegray", "imagecopyresized", "imagecreate",
346
+ "imagecreatetruecolor", "imageistruecolor", "imagetruecolortopalette",
347
+ "imagesetthickness", "imagefilledarc", "imagefilledellipse",
348
+ "imagealphablending", "imagesavealpha", "imagecolorallocatealpha",
349
+ "imagecolorresolvealpha", "imagecolorclosestalpha", "imagecolorexactalpha",
350
+ "imagecopyresampled", "imagegrabwindow", "imagegrabscreen", "imagerotate",
351
+ "imageantialias", "imagesettile", "imagesetbrush", "imagesetstyle",
352
+ "imagecreatefrompng", "imagecreatefromgif", "imagecreatefromjpeg",
353
+ "imagecreatefromwbmp", "imagecreatefromxbm", "imagecreatefromgd",
354
+ "imagecreatefromgd2", "imagecreatefromgd2part", "imagepng", "imagegif",
355
+ "imagejpeg", "imagewbmp", "imagegd", "imagegd2", "imagedestroy",
356
+ "imagegammacorrect", "imagefill", "imagefilledpolygon", "imagefilledrectangle",
357
+ "imagefilltoborder", "imagefontwidth", "imagefontheight", "imageinterlace",
358
+ "imageline", "imageloadfont", "imagepolygon", "imagerectangle",
359
+ "imagesetpixel", "imagestring", "imagestringup", "imagesx", "imagesy",
360
+ "imagedashedline", "imagettfbbox", "imagettftext", "imageftbbox",
361
+ "imagefttext", "imagepsloadfont", "imagepsfreefont", "imagepsencodefont",
362
+ "imagepsextendfont", "imagepsslantfont", "imagepstext", "imagepsbbox",
363
+ "imagetypes", "jpeg2wbmp", "png2wbmp", "image2wbmp", "imagelayereffect",
364
+ "imagecolormatch", "imagexbm", "imagefilter", "imageconvolution",
365
+ "mb_convert_case", "mb_strtoupper", "mb_strtolower", "mb_language",
366
+ "mb_internal_encoding", "mb_http_input", "mb_http_output", "mb_detect_order",
367
+ "mb_substitute_character", "mb_parse_str", "mb_output_handler",
368
+ "mb_preferred_mime_name", "mb_strlen", "mb_strpos", "mb_strrpos", "mb_stripos",
369
+ "mb_strripos", "mb_strstr", "mb_strrchr", "mb_stristr", "mb_strrichr",
370
+ "mb_substr_count", "mb_substr", "mb_strcut", "mb_strwidth", "mb_strimwidth",
371
+ "mb_convert_encoding", "mb_detect_encoding", "mb_list_encodings",
372
+ "mb_convert_kana", "mb_encode_mimeheader", "mb_decode_mimeheader",
373
+ "mb_convert_variables", "mb_encode_numericentity", "mb_decode_numericentity",
374
+ "mb_send_mail", "mb_get_info", "mb_check_encoding", "mb_regex_encoding",
375
+ "mb_regex_set_options", "mb_ereg", "mb_eregi", "mb_ereg_replace",
376
+ "mb_eregi_replace", "mb_split", "mb_ereg_match", "mb_ereg_search",
377
+ "mb_ereg_search_pos", "mb_ereg_search_regs", "mb_ereg_search_init",
378
+ "mb_ereg_search_getregs", "mb_ereg_search_getpos", "mb_ereg_search_setpos",
379
+ "mbregex_encoding", "mbereg", "mberegi", "mbereg_replace", "mberegi_replace",
380
+ "mbsplit", "mbereg_match", "mbereg_search", "mbereg_search_pos",
381
+ "mbereg_search_regs", "mbereg_search_init", "mbereg_search_getregs",
382
+ "mbereg_search_getpos", "mbereg_search_setpos", "mysql_connect",
383
+ "mysql_pconnect", "mysql_close", "mysql_select_db", "mysql_query",
384
+ "mysql_unbuffered_query", "mysql_db_query", "mysql_list_dbs",
385
+ "mysql_list_tables", "mysql_list_fields", "mysql_list_processes",
386
+ "mysql_error", "mysql_errno", "mysql_affected_rows", "mysql_insert_id",
387
+ "mysql_result", "mysql_num_rows", "mysql_num_fields", "mysql_fetch_row",
388
+ "mysql_fetch_array", "mysql_fetch_assoc", "mysql_fetch_object",
389
+ "mysql_data_seek", "mysql_fetch_lengths", "mysql_fetch_field",
390
+ "mysql_field_seek", "mysql_free_result", "mysql_field_name",
391
+ "mysql_field_table", "mysql_field_len", "mysql_field_type",
392
+ "mysql_field_flags", "mysql_escape_string", "mysql_real_escape_string",
393
+ "mysql_stat", "mysql_thread_id", "mysql_client_encoding", "mysql_ping",
394
+ "mysql_get_client_info", "mysql_get_host_info", "mysql_get_proto_info",
395
+ "mysql_get_server_info", "mysql_info", "mysql_set_charset", "mysql",
396
+ "mysql_fieldname", "mysql_fieldtable", "mysql_fieldlen", "mysql_fieldtype",
397
+ "mysql_fieldflags", "mysql_selectdb", "mysql_freeresult", "mysql_numfields",
398
+ "mysql_numrows", "mysql_listdbs", "mysql_listtables", "mysql_listfields",
399
+ "mysql_db_name", "mysql_dbname", "mysql_tablename", "mysql_table_name",
400
+ "mysqli_affected_rows", "mysqli_autocommit", "mysqli_change_user",
401
+ "mysqli_character_set_name", "mysqli_close", "mysqli_commit", "mysqli_connect",
402
+ "mysqli_connect_errno", "mysqli_connect_error", "mysqli_data_seek",
403
+ "mysqli_debug", "mysqli_disable_reads_from_master", "mysqli_disable_rpl_parse",
404
+ "mysqli_dump_debug_info", "mysqli_enable_reads_from_master",
405
+ "mysqli_enable_rpl_parse", "mysqli_embedded_server_end",
406
+ "mysqli_embedded_server_start", "mysqli_errno", "mysqli_error",
407
+ "mysqli_stmt_execute", "mysqli_execute", "mysqli_fetch_field",
408
+ "mysqli_fetch_fields", "mysqli_fetch_field_direct", "mysqli_fetch_lengths",
409
+ "mysqli_fetch_array", "mysqli_fetch_assoc", "mysqli_fetch_object",
410
+ "mysqli_fetch_row", "mysqli_field_count", "mysqli_field_seek",
411
+ "mysqli_field_tell", "mysqli_free_result", "mysqli_get_charset",
412
+ "mysqli_get_client_info", "mysqli_get_client_version", "mysqli_get_host_info",
413
+ "mysqli_get_proto_info", "mysqli_get_server_info", "mysqli_get_server_version",
414
+ "mysqli_get_warnings", "mysqli_init", "mysqli_info", "mysqli_insert_id",
415
+ "mysqli_kill", "mysqli_set_local_infile_default",
416
+ "mysqli_set_local_infile_handler", "mysqli_master_query",
417
+ "mysqli_more_results", "mysqli_multi_query", "mysqli_next_result",
418
+ "mysqli_num_fields", "mysqli_num_rows", "mysqli_options", "mysqli_ping",
419
+ "mysqli_prepare", "mysqli_report", "mysqli_query", "mysqli_real_connect",
420
+ "mysqli_real_escape_string", "mysqli_real_query", "mysqli_rollback",
421
+ "mysqli_rpl_parse_enabled", "mysqli_rpl_probe", "mysqli_rpl_query_type",
422
+ "mysqli_select_db", "mysqli_set_charset", "mysqli_stmt_attr_get",
423
+ "mysqli_stmt_attr_set", "mysqli_stmt_field_count", "mysqli_stmt_init",
424
+ "mysqli_stmt_prepare", "mysqli_stmt_result_metadata",
425
+ "mysqli_stmt_send_long_data", "mysqli_stmt_bind_param",
426
+ "mysqli_stmt_bind_result", "mysqli_stmt_fetch", "mysqli_stmt_free_result",
427
+ "mysqli_stmt_get_warnings", "mysqli_stmt_insert_id", "mysqli_stmt_reset",
428
+ "mysqli_stmt_param_count", "mysqli_send_query", "mysqli_slave_query",
429
+ "mysqli_sqlstate", "mysqli_ssl_set", "mysqli_stat",
430
+ "mysqli_stmt_affected_rows", "mysqli_stmt_close", "mysqli_stmt_data_seek",
431
+ "mysqli_stmt_errno", "mysqli_stmt_error", "mysqli_stmt_num_rows",
432
+ "mysqli_stmt_sqlstate", "mysqli_store_result", "mysqli_stmt_store_result",
433
+ "mysqli_thread_id", "mysqli_thread_safe", "mysqli_use_result",
434
+ "mysqli_warning_count", "mysqli_bind_param", "mysqli_bind_result",
435
+ "mysqli_client_encoding", "mysqli_escape_string", "mysqli_fetch",
436
+ "mysqli_param_count", "mysqli_get_metadata", "mysqli_send_long_data",
437
+ "mysqli_set_opt", "pdo_drivers", "socket_select", "socket_create",
438
+ "socket_create_listen", "socket_accept", "socket_set_nonblock",
439
+ "socket_set_block", "socket_listen", "socket_close", "socket_write",
440
+ "socket_read", "socket_getsockname", "socket_getpeername", "socket_connect",
441
+ "socket_strerror", "socket_bind", "socket_recv", "socket_send",
442
+ "socket_recvfrom", "socket_sendto", "socket_get_option", "socket_set_option",
443
+ "socket_shutdown", "socket_last_error", "socket_clear_error", "socket_getopt",
444
+ "socket_setopt", "eaccelerator_put", "eaccelerator_get", "eaccelerator_rm",
445
+ "eaccelerator_gc", "eaccelerator_lock", "eaccelerator_unlock",
446
+ "eaccelerator_caching", "eaccelerator_optimizer", "eaccelerator_clear",
447
+ "eaccelerator_clean", "eaccelerator_info", "eaccelerator_purge",
448
+ "eaccelerator_cached_scripts", "eaccelerator_removed_scripts",
449
+ "eaccelerator_list_keys", "eaccelerator_encode", "eaccelerator_load",
450
+ "_eaccelerator_loader_file", "_eaccelerator_loader_line",
451
+ "eaccelerator_set_session_handlers", "_eaccelerator_output_handler",
452
+ "eaccelerator_cache_page", "eaccelerator_rm_page", "eaccelerator_cache_output",
453
+ "eaccelerator_cache_result", "xdebug_get_stack_depth",
454
+ "xdebug_get_function_stack", "xdebug_print_function_stack",
455
+ "xdebug_get_declared_vars", "xdebug_call_class", "xdebug_call_function",
456
+ "xdebug_call_file", "xdebug_call_line", "xdebug_var_dump", "xdebug_debug_zval",
457
+ "xdebug_debug_zval_stdout", "xdebug_enable", "xdebug_disable",
458
+ "xdebug_is_enabled", "xdebug_break", "xdebug_start_trace", "xdebug_stop_trace",
459
+ "xdebug_get_tracefile_name", "xdebug_get_profiler_filename",
460
+ "xdebug_dump_aggr_profiling_data", "xdebug_clear_aggr_profiling_data",
461
+ "xdebug_memory_usage", "xdebug_peak_memory_usage", "xdebug_time_index",
462
+ "xdebug_start_error_collection", "xdebug_stop_error_collection",
463
+ "xdebug_get_collected_errors", "xdebug_start_code_coverage",
464
+ "xdebug_stop_code_coverage", "xdebug_get_code_coverage",
465
+ "xdebug_get_function_count", "xdebug_dump_superglobals",
466
+ "_", /* alias for gettext()*/
467
+ "get_called_class","class_alias","gc_collect_cycles","gc_enabled","gc_enable",
468
+ "gc_disable","date_create_from_format","date_parse_from_format",
469
+ "date_get_last_errors","date_add","date_sub","date_diff","date_timestamp_set",
470
+ "date_timestamp_get","timezone_location_get","timezone_version_get",
471
+ "date_interval_create_from_date_string","date_interval_format",
472
+ "libxml_disable_entity_loader","openssl_pkey_free","openssl_pkey_new",
473
+ "openssl_pkey_export","openssl_pkey_export_to_file","openssl_pkey_get_private",
474
+ "openssl_pkey_get_public","openssl_pkey_get_details","openssl_free_key",
475
+ "openssl_get_privatekey","openssl_get_publickey","openssl_x509_read",
476
+ "openssl_x509_free","openssl_x509_parse","openssl_x509_checkpurpose",
477
+ "openssl_x509_check_private_key","openssl_x509_export","openssl_x509_export_to_file",
478
+ "openssl_pkcs12_export","openssl_pkcs12_export_to_file","openssl_pkcs12_read",
479
+ "openssl_csr_new","openssl_csr_export","openssl_csr_export_to_file",
480
+ "openssl_csr_sign","openssl_csr_get_subject","openssl_csr_get_public_key",
481
+ "openssl_digest","openssl_encrypt","openssl_decrypt","openssl_cipher_iv_length",
482
+ "openssl_sign","openssl_verify","openssl_seal","openssl_open","openssl_pkcs7_verify",
483
+ "openssl_pkcs7_decrypt","openssl_pkcs7_sign","openssl_pkcs7_encrypt",
484
+ "openssl_private_encrypt","openssl_private_decrypt","openssl_public_encrypt",
485
+ "openssl_public_decrypt","openssl_get_md_methods","openssl_get_cipher_methods",
486
+ "openssl_dh_compute_key","openssl_random_pseudo_bytes","openssl_error_string",
487
+ "preg_filter","bzopen","bzread","bzwrite","bzflush","bzclose","bzerrno",
488
+ "bzerrstr","bzerror","bzcompress","bzdecompress","curl_init","curl_copy_handle",
489
+ "curl_version","curl_setopt","curl_setopt_array","curl_exec","curl_getinfo",
490
+ "curl_error","curl_errno","curl_close","curl_multi_init","curl_multi_add_handle",
491
+ "curl_multi_remove_handle","curl_multi_select","curl_multi_exec","curl_multi_getcontent",
492
+ "curl_multi_info_read","curl_multi_close","exif_read_data","read_exif_data",
493
+ "exif_tagname","exif_thumbnail","exif_imagetype","ftp_ssl_connect",
494
+ "imagecolorclosesthwb","imagecreatefromxpm","textdomain","gettext","dgettext",
495
+ "dcgettext","bindtextdomain","ngettext","dngettext","dcngettext",
496
+ "bind_textdomain_codeset","hash_copy","imap_open","imap_reopen","imap_close",
497
+ "imap_num_msg","imap_num_recent","imap_headers","imap_headerinfo",
498
+ "imap_rfc822_parse_headers","imap_rfc822_write_address","imap_rfc822_parse_adrlist",
499
+ "imap_body","imap_bodystruct","imap_fetchbody","imap_savebody","imap_fetchheader",
500
+ "imap_fetchstructure","imap_gc","imap_expunge","imap_delete","imap_undelete",
501
+ "imap_check","imap_listscan","imap_mail_copy","imap_mail_move","imap_mail_compose",
502
+ "imap_createmailbox","imap_renamemailbox","imap_deletemailbox","imap_subscribe",
503
+ "imap_unsubscribe","imap_append","imap_ping","imap_base64","imap_qprint","imap_8bit",
504
+ "imap_binary","imap_utf8","imap_status","imap_mailboxmsginfo","imap_setflag_full",
505
+ "imap_clearflag_full","imap_sort","imap_uid","imap_msgno","imap_list","imap_lsub",
506
+ "imap_fetch_overview","imap_alerts","imap_errors","imap_last_error","imap_search",
507
+ "imap_utf7_decode","imap_utf7_encode","imap_mime_header_decode","imap_thread",
508
+ "imap_timeout","imap_get_quota","imap_get_quotaroot","imap_set_quota","imap_setacl",
509
+ "imap_getacl","imap_mail","imap_header","imap_listmailbox","imap_getmailboxes",
510
+ "imap_scanmailbox","imap_listsubscribed","imap_getsubscribed","imap_fetchtext",
511
+ "imap_scan","imap_create","imap_rename","json_last_error","mb_encoding_aliases",
512
+ "mcrypt_ecb","mcrypt_cbc","mcrypt_cfb","mcrypt_ofb","mcrypt_get_key_size",
513
+ "mcrypt_get_block_size","mcrypt_get_cipher_name","mcrypt_create_iv","mcrypt_list_algorithms",
514
+ "mcrypt_list_modes","mcrypt_get_iv_size","mcrypt_encrypt","mcrypt_decrypt",
515
+ "mcrypt_module_open","mcrypt_generic_init","mcrypt_generic","mdecrypt_generic",
516
+ "mcrypt_generic_end","mcrypt_generic_deinit","mcrypt_enc_self_test",
517
+ "mcrypt_enc_is_block_algorithm_mode","mcrypt_enc_is_block_algorithm",
518
+ "mcrypt_enc_is_block_mode","mcrypt_enc_get_block_size","mcrypt_enc_get_key_size",
519
+ "mcrypt_enc_get_supported_key_sizes","mcrypt_enc_get_iv_size",
520
+ "mcrypt_enc_get_algorithms_name","mcrypt_enc_get_modes_name","mcrypt_module_self_test",
521
+ "mcrypt_module_is_block_algorithm_mode","mcrypt_module_is_block_algorithm",
522
+ "mcrypt_module_is_block_mode","mcrypt_module_get_algo_block_size",
523
+ "mcrypt_module_get_algo_key_size","mcrypt_module_get_supported_key_sizes",
524
+ "mcrypt_module_close","mysqli_refresh","posix_kill","posix_getpid","posix_getppid",
525
+ "posix_getuid","posix_setuid","posix_geteuid","posix_seteuid","posix_getgid",
526
+ "posix_setgid","posix_getegid","posix_setegid","posix_getgroups","posix_getlogin",
527
+ "posix_getpgrp","posix_setsid","posix_setpgid","posix_getpgid","posix_getsid",
528
+ "posix_uname","posix_times","posix_ctermid","posix_ttyname","posix_isatty",
529
+ "posix_getcwd","posix_mkfifo","posix_mknod","posix_access","posix_getgrnam",
530
+ "posix_getgrgid","posix_getpwnam","posix_getpwuid","posix_getrlimit",
531
+ "posix_get_last_error","posix_errno","posix_strerror","posix_initgroups",
532
+ "pspell_new","pspell_new_personal","pspell_new_config","pspell_check",
533
+ "pspell_suggest","pspell_store_replacement","pspell_add_to_personal",
534
+ "pspell_add_to_session","pspell_clear_session","pspell_save_wordlist",
535
+ "pspell_config_create","pspell_config_runtogether","pspell_config_mode",
536
+ "pspell_config_ignore","pspell_config_personal","pspell_config_dict_dir",
537
+ "pspell_config_data_dir","pspell_config_repl","pspell_config_save_repl",
538
+ "snmpget","snmpgetnext","snmpwalk","snmprealwalk","snmpwalkoid",
539
+ "snmp_get_quick_print","snmp_set_quick_print","snmp_set_enum_print",
540
+ "snmp_set_oid_output_format","snmp_set_oid_numeric_print","snmpset",
541
+ "snmp2_get","snmp2_getnext","snmp2_walk","snmp2_real_walk","snmp2_set",
542
+ "snmp3_get","snmp3_getnext","snmp3_walk","snmp3_real_walk","snmp3_set",
543
+ "snmp_set_valueretrieval","snmp_get_valueretrieval","snmp_read_mib",
544
+ "use_soap_error_handler","is_soap_fault","socket_create_pair","time_nanosleep",
545
+ "time_sleep_until","strptime","php_ini_loaded_file","money_format","lcfirst",
546
+ "nl_langinfo","str_getcsv","readlink","linkinfo","symlink","link","proc_nice",
547
+ "atanh","asinh","acosh","expm1","log1p","inet_ntop","inet_pton","getopt",
548
+ "sys_getloadavg","getrusage","quoted_printable_encode","forward_static_call",
549
+ "forward_static_call_array","header_remove","parse_ini_string","gethostname",
550
+ "dns_check_record","checkdnsrr","dns_get_mx","getmxrr","dns_get_record",
551
+ "stream_context_get_params","stream_context_set_default","stream_socket_pair",
552
+ "stream_supports_lock","stream_set_read_buffer","stream_resolve_include_path",
553
+ "stream_is_local","fnmatch","chroot","lchown","lchgrp","realpath_cache_size",
554
+ "realpath_cache_get","array_replace","array_replace_recursive","ftok","xmlrpc_encode",
555
+ "xmlrpc_decode","xmlrpc_decode_request","xmlrpc_encode_request","xmlrpc_get_type",
556
+ "xmlrpc_set_type","xmlrpc_is_fault","xmlrpc_server_create","xmlrpc_server_destroy",
557
+ "xmlrpc_server_register_method","xmlrpc_server_call_method",
558
+ "xmlrpc_parse_method_descriptions","xmlrpc_server_add_introspection_data",
559
+ "xmlrpc_server_register_introspection_callback","zip_open","zip_close",
560
+ "zip_read","zip_entry_open","zip_entry_close","zip_entry_read","zip_entry_filesize",
561
+ "zip_entry_name","zip_entry_compressedsize","zip_entry_compressionmethod",
562
+ "svn_checkout","svn_cat","svn_ls","svn_log","svn_auth_set_parameter",
563
+ "svn_auth_get_parameter","svn_client_version","svn_config_ensure","svn_diff",
564
+ "svn_cleanup","svn_revert","svn_resolved","svn_commit","svn_lock","svn_unlock",
565
+ "svn_add","svn_status","svn_update","svn_import","svn_info","svn_export",
566
+ "svn_copy","svn_switch","svn_blame","svn_delete","svn_mkdir","svn_move",
567
+ "svn_proplist","svn_propget","svn_repos_create","svn_repos_recover",
568
+ "svn_repos_hotcopy","svn_repos_open","svn_repos_fs",
569
+ "svn_repos_fs_begin_txn_for_commit","svn_repos_fs_commit_txn",
570
+ "svn_fs_revision_root","svn_fs_check_path","svn_fs_revision_prop",
571
+ "svn_fs_dir_entries","svn_fs_node_created_rev","svn_fs_youngest_rev",
572
+ "svn_fs_file_contents","svn_fs_file_length","svn_fs_txn_root","svn_fs_make_file",
573
+ "svn_fs_make_dir","svn_fs_apply_text","svn_fs_copy","svn_fs_delete",
574
+ "svn_fs_begin_txn2","svn_fs_is_dir","svn_fs_is_file","svn_fs_node_prop",
575
+ "svn_fs_change_node_prop","svn_fs_contents_changed","svn_fs_props_changed",
576
+ "svn_fs_abort_txn","sqlite_open","sqlite_popen","sqlite_close","sqlite_query",
577
+ "sqlite_exec","sqlite_array_query","sqlite_single_query","sqlite_fetch_array",
578
+ "sqlite_fetch_object","sqlite_fetch_single","sqlite_fetch_string",
579
+ "sqlite_fetch_all","sqlite_current","sqlite_column","sqlite_libversion",
580
+ "sqlite_libencoding","sqlite_changes","sqlite_last_insert_rowid",
581
+ "sqlite_num_rows","sqlite_num_fields","sqlite_field_name","sqlite_seek",
582
+ "sqlite_rewind","sqlite_next","sqlite_prev","sqlite_valid","sqlite_has_more",
583
+ "sqlite_has_prev","sqlite_escape_string","sqlite_busy_timeout","sqlite_last_error",
584
+ "sqlite_error_string","sqlite_unbuffered_query","sqlite_create_aggregate",
585
+ "sqlite_create_function","sqlite_factory","sqlite_udf_encode_binary",
586
+ "sqlite_udf_decode_binary","sqlite_fetch_column_types"
587
+ ].forEach(function(element, index, array) {
588
+ result[element] = token("t_string", "php-predefined-function");
589
+ });
590
+
591
+ // output of get_defined_constants(). Differs significantly from http://php.net/manual/en/reserved.constants.php
592
+ [ "E_ERROR", "E_RECOVERABLE_ERROR", "E_WARNING", "E_PARSE", "E_NOTICE",
593
+ "E_STRICT", "E_CORE_ERROR", "E_CORE_WARNING", "E_COMPILE_ERROR",
594
+ "E_COMPILE_WARNING", "E_USER_ERROR", "E_USER_WARNING", "E_USER_NOTICE",
595
+ "E_ALL", "TRUE", "FALSE", "NULL", "ZEND_THREAD_SAFE", "PHP_VERSION", "PHP_OS",
596
+ "PHP_SAPI", "DEFAULT_INCLUDE_PATH", "PEAR_INSTALL_DIR", "PEAR_EXTENSION_DIR",
597
+ "PHP_EXTENSION_DIR", "PHP_PREFIX", "PHP_BINDIR", "PHP_LIBDIR", "PHP_DATADIR",
598
+ "PHP_SYSCONFDIR", "PHP_LOCALSTATEDIR", "PHP_CONFIG_FILE_PATH",
599
+ "PHP_CONFIG_FILE_SCAN_DIR", "PHP_SHLIB_SUFFIX", "PHP_EOL", "PHP_EOL",
600
+ "PHP_INT_MAX", "PHP_INT_SIZE", "PHP_OUTPUT_HANDLER_START",
601
+ "PHP_OUTPUT_HANDLER_CONT", "PHP_OUTPUT_HANDLER_END", "UPLOAD_ERR_OK",
602
+ "UPLOAD_ERR_INI_SIZE", "UPLOAD_ERR_FORM_SIZE", "UPLOAD_ERR_PARTIAL",
603
+ "UPLOAD_ERR_NO_FILE", "UPLOAD_ERR_NO_TMP_DIR", "UPLOAD_ERR_CANT_WRITE",
604
+ "UPLOAD_ERR_EXTENSION", "CAL_GREGORIAN", "CAL_JULIAN", "CAL_JEWISH",
605
+ "CAL_FRENCH", "CAL_NUM_CALS", "CAL_DOW_DAYNO", "CAL_DOW_SHORT", "CAL_DOW_LONG",
606
+ "CAL_MONTH_GREGORIAN_SHORT", "CAL_MONTH_GREGORIAN_LONG",
607
+ "CAL_MONTH_JULIAN_SHORT", "CAL_MONTH_JULIAN_LONG", "CAL_MONTH_JEWISH",
608
+ "CAL_MONTH_FRENCH", "CAL_EASTER_DEFAULT", "CAL_EASTER_ROMAN",
609
+ "CAL_EASTER_ALWAYS_GREGORIAN", "CAL_EASTER_ALWAYS_JULIAN",
610
+ "CAL_JEWISH_ADD_ALAFIM_GERESH", "CAL_JEWISH_ADD_ALAFIM",
611
+ "CAL_JEWISH_ADD_GERESHAYIM", "CLSCTX_INPROC_SERVER", "CLSCTX_INPROC_HANDLER",
612
+ "CLSCTX_LOCAL_SERVER", "CLSCTX_REMOTE_SERVER", "CLSCTX_SERVER", "CLSCTX_ALL",
613
+ "VT_NULL", "VT_EMPTY", "VT_UI1", "VT_I1", "VT_UI2", "VT_I2", "VT_UI4", "VT_I4",
614
+ "VT_R4", "VT_R8", "VT_BOOL", "VT_ERROR", "VT_CY", "VT_DATE", "VT_BSTR",
615
+ "VT_DECIMAL", "VT_UNKNOWN", "VT_DISPATCH", "VT_VARIANT", "VT_INT", "VT_UINT",
616
+ "VT_ARRAY", "VT_BYREF", "CP_ACP", "CP_MACCP", "CP_OEMCP", "CP_UTF7", "CP_UTF8",
617
+ "CP_SYMBOL", "CP_THREAD_ACP", "VARCMP_LT", "VARCMP_EQ", "VARCMP_GT",
618
+ "VARCMP_NULL", "NORM_IGNORECASE", "NORM_IGNORENONSPACE", "NORM_IGNORESYMBOLS",
619
+ "NORM_IGNOREWIDTH", "NORM_IGNOREKANATYPE", "DISP_E_DIVBYZERO",
620
+ "DISP_E_OVERFLOW", "DISP_E_BADINDEX", "MK_E_UNAVAILABLE", "INPUT_POST",
621
+ "INPUT_GET", "INPUT_COOKIE", "INPUT_ENV", "INPUT_SERVER", "INPUT_SESSION",
622
+ "INPUT_REQUEST", "FILTER_FLAG_NONE", "FILTER_REQUIRE_SCALAR",
623
+ "FILTER_REQUIRE_ARRAY", "FILTER_FORCE_ARRAY", "FILTER_NULL_ON_FAILURE",
624
+ "FILTER_VALIDATE_INT", "FILTER_VALIDATE_BOOLEAN", "FILTER_VALIDATE_FLOAT",
625
+ "FILTER_VALIDATE_REGEXP", "FILTER_VALIDATE_URL", "FILTER_VALIDATE_EMAIL",
626
+ "FILTER_VALIDATE_IP", "FILTER_DEFAULT", "FILTER_UNSAFE_RAW",
627
+ "FILTER_SANITIZE_STRING", "FILTER_SANITIZE_STRIPPED",
628
+ "FILTER_SANITIZE_ENCODED", "FILTER_SANITIZE_SPECIAL_CHARS",
629
+ "FILTER_SANITIZE_EMAIL", "FILTER_SANITIZE_URL", "FILTER_SANITIZE_NUMBER_INT",
630
+ "FILTER_SANITIZE_NUMBER_FLOAT", "FILTER_SANITIZE_MAGIC_QUOTES",
631
+ "FILTER_CALLBACK", "FILTER_FLAG_ALLOW_OCTAL", "FILTER_FLAG_ALLOW_HEX",
632
+ "FILTER_FLAG_STRIP_LOW", "FILTER_FLAG_STRIP_HIGH", "FILTER_FLAG_ENCODE_LOW",
633
+ "FILTER_FLAG_ENCODE_HIGH", "FILTER_FLAG_ENCODE_AMP",
634
+ "FILTER_FLAG_NO_ENCODE_QUOTES", "FILTER_FLAG_EMPTY_STRING_NULL",
635
+ "FILTER_FLAG_ALLOW_FRACTION", "FILTER_FLAG_ALLOW_THOUSAND",
636
+ "FILTER_FLAG_ALLOW_SCIENTIFIC", "FILTER_FLAG_SCHEME_REQUIRED",
637
+ "FILTER_FLAG_HOST_REQUIRED", "FILTER_FLAG_PATH_REQUIRED",
638
+ "FILTER_FLAG_QUERY_REQUIRED", "FILTER_FLAG_IPV4", "FILTER_FLAG_IPV6",
639
+ "FILTER_FLAG_NO_RES_RANGE", "FILTER_FLAG_NO_PRIV_RANGE", "FTP_ASCII",
640
+ "FTP_TEXT", "FTP_BINARY", "FTP_IMAGE", "FTP_AUTORESUME", "FTP_TIMEOUT_SEC",
641
+ "FTP_AUTOSEEK", "FTP_FAILED", "FTP_FINISHED", "FTP_MOREDATA", "HASH_HMAC",
642
+ "ICONV_IMPL", "ICONV_VERSION", "ICONV_MIME_DECODE_STRICT",
643
+ "ICONV_MIME_DECODE_CONTINUE_ON_ERROR", "ODBC_TYPE", "ODBC_BINMODE_PASSTHRU",
644
+ "ODBC_BINMODE_RETURN", "ODBC_BINMODE_CONVERT", "SQL_ODBC_CURSORS",
645
+ "SQL_CUR_USE_DRIVER", "SQL_CUR_USE_IF_NEEDED", "SQL_CUR_USE_ODBC",
646
+ "SQL_CONCURRENCY", "SQL_CONCUR_READ_ONLY", "SQL_CONCUR_LOCK",
647
+ "SQL_CONCUR_ROWVER", "SQL_CONCUR_VALUES", "SQL_CURSOR_TYPE",
648
+ "SQL_CURSOR_FORWARD_ONLY", "SQL_CURSOR_KEYSET_DRIVEN", "SQL_CURSOR_DYNAMIC",
649
+ "SQL_CURSOR_STATIC", "SQL_KEYSET_SIZE", "SQL_FETCH_FIRST", "SQL_FETCH_NEXT",
650
+ "SQL_CHAR", "SQL_VARCHAR", "SQL_LONGVARCHAR", "SQL_DECIMAL", "SQL_NUMERIC",
651
+ "SQL_BIT", "SQL_TINYINT", "SQL_SMALLINT", "SQL_INTEGER", "SQL_BIGINT",
652
+ "SQL_REAL", "SQL_FLOAT", "SQL_DOUBLE", "SQL_BINARY", "SQL_VARBINARY",
653
+ "SQL_LONGVARBINARY", "SQL_DATE", "SQL_TIME", "SQL_TIMESTAMP",
654
+ "PREG_PATTERN_ORDER", "PREG_SET_ORDER", "PREG_OFFSET_CAPTURE",
655
+ "PREG_SPLIT_NO_EMPTY", "PREG_SPLIT_DELIM_CAPTURE", "PREG_SPLIT_OFFSET_CAPTURE",
656
+ "PREG_GREP_INVERT", "PREG_NO_ERROR", "PREG_INTERNAL_ERROR",
657
+ "PREG_BACKTRACK_LIMIT_ERROR", "PREG_RECURSION_LIMIT_ERROR",
658
+ "PREG_BAD_UTF8_ERROR", "DATE_ATOM", "DATE_COOKIE", "DATE_ISO8601",
659
+ "DATE_RFC822", "DATE_RFC850", "DATE_RFC1036", "DATE_RFC1123", "DATE_RFC2822",
660
+ "DATE_RFC3339", "DATE_RSS", "DATE_W3C", "SUNFUNCS_RET_TIMESTAMP",
661
+ "SUNFUNCS_RET_STRING", "SUNFUNCS_RET_DOUBLE", "LIBXML_VERSION",
662
+ "LIBXML_DOTTED_VERSION", "LIBXML_NOENT", "LIBXML_DTDLOAD", "LIBXML_DTDATTR",
663
+ "LIBXML_DTDVALID", "LIBXML_NOERROR", "LIBXML_NOWARNING", "LIBXML_NOBLANKS",
664
+ "LIBXML_XINCLUDE", "LIBXML_NSCLEAN", "LIBXML_NOCDATA", "LIBXML_NONET",
665
+ "LIBXML_COMPACT", "LIBXML_NOXMLDECL", "LIBXML_NOEMPTYTAG", "LIBXML_ERR_NONE",
666
+ "LIBXML_ERR_WARNING", "LIBXML_ERR_ERROR", "LIBXML_ERR_FATAL",
667
+ "CONNECTION_ABORTED", "CONNECTION_NORMAL", "CONNECTION_TIMEOUT", "INI_USER",
668
+ "INI_PERDIR", "INI_SYSTEM", "INI_ALL", "PHP_URL_SCHEME", "PHP_URL_HOST",
669
+ "PHP_URL_PORT", "PHP_URL_USER", "PHP_URL_PASS", "PHP_URL_PATH",
670
+ "PHP_URL_QUERY", "PHP_URL_FRAGMENT", "M_E", "M_LOG2E", "M_LOG10E", "M_LN2",
671
+ "M_LN10", "M_PI", "M_PI_2", "M_PI_4", "M_1_PI", "M_2_PI", "M_SQRTPI",
672
+ "M_2_SQRTPI", "M_LNPI", "M_EULER", "M_SQRT2", "M_SQRT1_2", "M_SQRT3", "INF",
673
+ "NAN", "INFO_GENERAL", "INFO_CREDITS", "INFO_CONFIGURATION", "INFO_MODULES",
674
+ "INFO_ENVIRONMENT", "INFO_VARIABLES", "INFO_LICENSE", "INFO_ALL",
675
+ "CREDITS_GROUP", "CREDITS_GENERAL", "CREDITS_SAPI", "CREDITS_MODULES",
676
+ "CREDITS_DOCS", "CREDITS_FULLPAGE", "CREDITS_QA", "CREDITS_ALL",
677
+ "HTML_SPECIALCHARS", "HTML_ENTITIES", "ENT_COMPAT", "ENT_QUOTES",
678
+ "ENT_NOQUOTES", "STR_PAD_LEFT", "STR_PAD_RIGHT", "STR_PAD_BOTH",
679
+ "PATHINFO_DIRNAME", "PATHINFO_BASENAME", "PATHINFO_EXTENSION",
680
+ "PATHINFO_FILENAME", "CHAR_MAX", "LC_CTYPE", "LC_NUMERIC", "LC_TIME",
681
+ "LC_COLLATE", "LC_MONETARY", "LC_ALL", "SEEK_SET", "SEEK_CUR", "SEEK_END",
682
+ "LOCK_SH", "LOCK_EX", "LOCK_UN", "LOCK_NB", "STREAM_NOTIFY_CONNECT",
683
+ "STREAM_NOTIFY_AUTH_REQUIRED", "STREAM_NOTIFY_AUTH_RESULT",
684
+ "STREAM_NOTIFY_MIME_TYPE_IS", "STREAM_NOTIFY_FILE_SIZE_IS",
685
+ "STREAM_NOTIFY_REDIRECTED", "STREAM_NOTIFY_PROGRESS", "STREAM_NOTIFY_FAILURE",
686
+ "STREAM_NOTIFY_COMPLETED", "STREAM_NOTIFY_RESOLVE",
687
+ "STREAM_NOTIFY_SEVERITY_INFO", "STREAM_NOTIFY_SEVERITY_WARN",
688
+ "STREAM_NOTIFY_SEVERITY_ERR", "STREAM_FILTER_READ", "STREAM_FILTER_WRITE",
689
+ "STREAM_FILTER_ALL", "STREAM_CLIENT_PERSISTENT", "STREAM_CLIENT_ASYNC_CONNECT",
690
+ "STREAM_CLIENT_CONNECT", "STREAM_CRYPTO_METHOD_SSLv2_CLIENT",
691
+ "STREAM_CRYPTO_METHOD_SSLv3_CLIENT", "STREAM_CRYPTO_METHOD_SSLv23_CLIENT",
692
+ "STREAM_CRYPTO_METHOD_TLS_CLIENT", "STREAM_CRYPTO_METHOD_SSLv2_SERVER",
693
+ "STREAM_CRYPTO_METHOD_SSLv3_SERVER", "STREAM_CRYPTO_METHOD_SSLv23_SERVER",
694
+ "STREAM_CRYPTO_METHOD_TLS_SERVER", "STREAM_SHUT_RD", "STREAM_SHUT_WR",
695
+ "STREAM_SHUT_RDWR", "STREAM_PF_INET", "STREAM_PF_INET6", "STREAM_PF_UNIX",
696
+ "STREAM_IPPROTO_IP", "STREAM_IPPROTO_TCP", "STREAM_IPPROTO_UDP",
697
+ "STREAM_IPPROTO_ICMP", "STREAM_IPPROTO_RAW", "STREAM_SOCK_STREAM",
698
+ "STREAM_SOCK_DGRAM", "STREAM_SOCK_RAW", "STREAM_SOCK_SEQPACKET",
699
+ "STREAM_SOCK_RDM", "STREAM_PEEK", "STREAM_OOB", "STREAM_SERVER_BIND",
700
+ "STREAM_SERVER_LISTEN", "FILE_USE_INCLUDE_PATH", "FILE_IGNORE_NEW_LINES",
701
+ "FILE_SKIP_EMPTY_LINES", "FILE_APPEND", "FILE_NO_DEFAULT_CONTEXT",
702
+ "PSFS_PASS_ON", "PSFS_FEED_ME", "PSFS_ERR_FATAL", "PSFS_FLAG_NORMAL",
703
+ "PSFS_FLAG_FLUSH_INC", "PSFS_FLAG_FLUSH_CLOSE", "CRYPT_SALT_LENGTH",
704
+ "CRYPT_STD_DES", "CRYPT_EXT_DES", "CRYPT_MD5", "CRYPT_BLOWFISH",
705
+ "DIRECTORY_SEPARATOR", "PATH_SEPARATOR", "GLOB_BRACE", "GLOB_MARK",
706
+ "GLOB_NOSORT", "GLOB_NOCHECK", "GLOB_NOESCAPE", "GLOB_ERR", "GLOB_ONLYDIR",
707
+ "LOG_EMERG", "LOG_ALERT", "LOG_CRIT", "LOG_ERR", "LOG_WARNING", "LOG_NOTICE",
708
+ "LOG_INFO", "LOG_DEBUG", "LOG_KERN", "LOG_USER", "LOG_MAIL", "LOG_DAEMON",
709
+ "LOG_AUTH", "LOG_SYSLOG", "LOG_LPR", "LOG_NEWS", "LOG_UUCP", "LOG_CRON",
710
+ "LOG_AUTHPRIV", "LOG_PID", "LOG_CONS", "LOG_ODELAY", "LOG_NDELAY",
711
+ "LOG_NOWAIT", "LOG_PERROR", "EXTR_OVERWRITE", "EXTR_SKIP", "EXTR_PREFIX_SAME",
712
+ "EXTR_PREFIX_ALL", "EXTR_PREFIX_INVALID", "EXTR_PREFIX_IF_EXISTS",
713
+ "EXTR_IF_EXISTS", "EXTR_REFS", "SORT_ASC", "SORT_DESC", "SORT_REGULAR",
714
+ "SORT_NUMERIC", "SORT_STRING", "SORT_LOCALE_STRING", "CASE_LOWER",
715
+ "CASE_UPPER", "COUNT_NORMAL", "COUNT_RECURSIVE", "ASSERT_ACTIVE",
716
+ "ASSERT_CALLBACK", "ASSERT_BAIL", "ASSERT_WARNING", "ASSERT_QUIET_EVAL",
717
+ "STREAM_USE_PATH", "STREAM_IGNORE_URL", "STREAM_ENFORCE_SAFE_MODE",
718
+ "STREAM_REPORT_ERRORS", "STREAM_MUST_SEEK", "STREAM_URL_STAT_LINK",
719
+ "STREAM_URL_STAT_QUIET", "STREAM_MKDIR_RECURSIVE", "IMAGETYPE_GIF",
720
+ "IMAGETYPE_JPEG", "IMAGETYPE_PNG", "IMAGETYPE_SWF", "IMAGETYPE_PSD",
721
+ "IMAGETYPE_BMP", "IMAGETYPE_TIFF_II", "IMAGETYPE_TIFF_MM", "IMAGETYPE_JPC",
722
+ "IMAGETYPE_JP2", "IMAGETYPE_JPX", "IMAGETYPE_JB2", "IMAGETYPE_SWC",
723
+ "IMAGETYPE_IFF", "IMAGETYPE_WBMP", "IMAGETYPE_JPEG2000", "IMAGETYPE_XBM",
724
+ "T_INCLUDE", "T_INCLUDE_ONCE", "T_EVAL", "T_REQUIRE", "T_REQUIRE_ONCE",
725
+ "T_LOGICAL_OR", "T_LOGICAL_XOR", "T_LOGICAL_AND", "T_PRINT", "T_PLUS_EQUAL",
726
+ "T_MINUS_EQUAL", "T_MUL_EQUAL", "T_DIV_EQUAL", "T_CONCAT_EQUAL", "T_MOD_EQUAL",
727
+ "T_AND_EQUAL", "T_OR_EQUAL", "T_XOR_EQUAL", "T_SL_EQUAL", "T_SR_EQUAL",
728
+ "T_BOOLEAN_OR", "T_BOOLEAN_AND", "T_IS_EQUAL", "T_IS_NOT_EQUAL",
729
+ "T_IS_IDENTICAL", "T_IS_NOT_IDENTICAL", "T_IS_SMALLER_OR_EQUAL",
730
+ "T_IS_GREATER_OR_EQUAL", "T_SL", "T_SR", "T_INC", "T_DEC", "T_INT_CAST",
731
+ "T_DOUBLE_CAST", "T_STRING_CAST", "T_ARRAY_CAST", "T_OBJECT_CAST",
732
+ "T_BOOL_CAST", "T_UNSET_CAST", "T_NEW", "T_EXIT", "T_IF", "T_ELSEIF", "T_ELSE",
733
+ "T_ENDIF", "T_LNUMBER", "T_DNUMBER", "T_STRING", "T_STRING_VARNAME",
734
+ "T_VARIABLE", "T_NUM_STRING", "T_INLINE_HTML", "T_CHARACTER",
735
+ "T_BAD_CHARACTER", "T_ENCAPSED_AND_WHITESPACE", "T_CONSTANT_ENCAPSED_STRING",
736
+ "T_ECHO", "T_DO", "T_WHILE", "T_ENDWHILE", "T_FOR", "T_ENDFOR", "T_FOREACH",
737
+ "T_ENDFOREACH", "T_DECLARE", "T_ENDDECLARE", "T_AS", "T_SWITCH", "T_ENDSWITCH",
738
+ "T_CASE", "T_DEFAULT", "T_BREAK", "T_CONTINUE", "T_FUNCTION", "T_CONST",
739
+ "T_RETURN", "T_USE", "T_GLOBAL", "T_STATIC", "T_VAR", "T_UNSET", "T_ISSET",
740
+ "T_EMPTY", "T_CLASS", "T_EXTENDS", "T_INTERFACE", "T_IMPLEMENTS",
741
+ "T_OBJECT_OPERATOR", "T_DOUBLE_ARROW", "T_LIST", "T_ARRAY", "T_CLASS_C",
742
+ "T_FUNC_C", "T_METHOD_C", "T_LINE", "T_FILE", "T_COMMENT", "T_DOC_COMMENT",
743
+ "T_OPEN_TAG", "T_OPEN_TAG_WITH_ECHO", "T_CLOSE_TAG", "T_WHITESPACE",
744
+ "T_START_HEREDOC", "T_END_HEREDOC", "T_DOLLAR_OPEN_CURLY_BRACES",
745
+ "T_CURLY_OPEN", "T_PAAMAYIM_NEKUDOTAYIM", "T_DOUBLE_COLON", "T_ABSTRACT",
746
+ "T_CATCH", "T_FINAL", "T_INSTANCEOF", "T_PRIVATE", "T_PROTECTED", "T_PUBLIC",
747
+ "T_THROW", "T_TRY", "T_CLONE", "T_HALT_COMPILER", "FORCE_GZIP",
748
+ "FORCE_DEFLATE", "XML_ELEMENT_NODE", "XML_ATTRIBUTE_NODE", "XML_TEXT_NODE",
749
+ "XML_CDATA_SECTION_NODE", "XML_ENTITY_REF_NODE", "XML_ENTITY_NODE",
750
+ "XML_PI_NODE", "XML_COMMENT_NODE", "XML_DOCUMENT_NODE",
751
+ "XML_DOCUMENT_TYPE_NODE", "XML_DOCUMENT_FRAG_NODE", "XML_NOTATION_NODE",
752
+ "XML_HTML_DOCUMENT_NODE", "XML_DTD_NODE", "XML_ELEMENT_DECL_NODE",
753
+ "XML_ATTRIBUTE_DECL_NODE", "XML_ENTITY_DECL_NODE", "XML_NAMESPACE_DECL_NODE",
754
+ "XML_LOCAL_NAMESPACE", "XML_ATTRIBUTE_CDATA", "XML_ATTRIBUTE_ID",
755
+ "XML_ATTRIBUTE_IDREF", "XML_ATTRIBUTE_IDREFS", "XML_ATTRIBUTE_ENTITY",
756
+ "XML_ATTRIBUTE_NMTOKEN", "XML_ATTRIBUTE_NMTOKENS", "XML_ATTRIBUTE_ENUMERATION",
757
+ "XML_ATTRIBUTE_NOTATION", "DOM_PHP_ERR", "DOM_INDEX_SIZE_ERR",
758
+ "DOMSTRING_SIZE_ERR", "DOM_HIERARCHY_REQUEST_ERR", "DOM_WRONG_DOCUMENT_ERR",
759
+ "DOM_INVALID_CHARACTER_ERR", "DOM_NO_DATA_ALLOWED_ERR",
760
+ "DOM_NO_MODIFICATION_ALLOWED_ERR", "DOM_NOT_FOUND_ERR",
761
+ "DOM_NOT_SUPPORTED_ERR", "DOM_INUSE_ATTRIBUTE_ERR", "DOM_INVALID_STATE_ERR",
762
+ "DOM_SYNTAX_ERR", "DOM_INVALID_MODIFICATION_ERR", "DOM_NAMESPACE_ERR",
763
+ "DOM_INVALID_ACCESS_ERR", "DOM_VALIDATION_ERR", "XML_ERROR_NONE",
764
+ "XML_ERROR_NO_MEMORY", "XML_ERROR_SYNTAX", "XML_ERROR_NO_ELEMENTS",
765
+ "XML_ERROR_INVALID_TOKEN", "XML_ERROR_UNCLOSED_TOKEN",
766
+ "XML_ERROR_PARTIAL_CHAR", "XML_ERROR_TAG_MISMATCH",
767
+ "XML_ERROR_DUPLICATE_ATTRIBUTE", "XML_ERROR_JUNK_AFTER_DOC_ELEMENT",
768
+ "XML_ERROR_PARAM_ENTITY_REF", "XML_ERROR_UNDEFINED_ENTITY",
769
+ "XML_ERROR_RECURSIVE_ENTITY_REF", "XML_ERROR_ASYNC_ENTITY",
770
+ "XML_ERROR_BAD_CHAR_REF", "XML_ERROR_BINARY_ENTITY_REF",
771
+ "XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF", "XML_ERROR_MISPLACED_XML_PI",
772
+ "XML_ERROR_UNKNOWN_ENCODING", "XML_ERROR_INCORRECT_ENCODING",
773
+ "XML_ERROR_UNCLOSED_CDATA_SECTION", "XML_ERROR_EXTERNAL_ENTITY_HANDLING",
774
+ "XML_OPTION_CASE_FOLDING", "XML_OPTION_TARGET_ENCODING",
775
+ "XML_OPTION_SKIP_TAGSTART", "XML_OPTION_SKIP_WHITE", "XML_SAX_IMPL", "IMG_GIF",
776
+ "IMG_JPG", "IMG_JPEG", "IMG_PNG", "IMG_WBMP", "IMG_XPM", "IMG_COLOR_TILED",
777
+ "IMG_COLOR_STYLED", "IMG_COLOR_BRUSHED", "IMG_COLOR_STYLEDBRUSHED",
778
+ "IMG_COLOR_TRANSPARENT", "IMG_ARC_ROUNDED", "IMG_ARC_PIE", "IMG_ARC_CHORD",
779
+ "IMG_ARC_NOFILL", "IMG_ARC_EDGED", "IMG_GD2_RAW", "IMG_GD2_COMPRESSED",
780
+ "IMG_EFFECT_REPLACE", "IMG_EFFECT_ALPHABLEND", "IMG_EFFECT_NORMAL",
781
+ "IMG_EFFECT_OVERLAY", "GD_BUNDLED", "IMG_FILTER_NEGATE",
782
+ "IMG_FILTER_GRAYSCALE", "IMG_FILTER_BRIGHTNESS", "IMG_FILTER_CONTRAST",
783
+ "IMG_FILTER_COLORIZE", "IMG_FILTER_EDGEDETECT", "IMG_FILTER_GAUSSIAN_BLUR",
784
+ "IMG_FILTER_SELECTIVE_BLUR", "IMG_FILTER_EMBOSS", "IMG_FILTER_MEAN_REMOVAL",
785
+ "IMG_FILTER_SMOOTH", "PNG_NO_FILTER", "PNG_FILTER_NONE", "PNG_FILTER_SUB",
786
+ "PNG_FILTER_UP", "PNG_FILTER_AVG", "PNG_FILTER_PAETH", "PNG_ALL_FILTERS",
787
+ "MB_OVERLOAD_MAIL", "MB_OVERLOAD_STRING", "MB_OVERLOAD_REGEX", "MB_CASE_UPPER",
788
+ "MB_CASE_LOWER", "MB_CASE_TITLE", "MYSQL_ASSOC", "MYSQL_NUM", "MYSQL_BOTH",
789
+ "MYSQL_CLIENT_COMPRESS", "MYSQL_CLIENT_SSL", "MYSQL_CLIENT_INTERACTIVE",
790
+ "MYSQL_CLIENT_IGNORE_SPACE", "MYSQLI_READ_DEFAULT_GROUP",
791
+ "MYSQLI_READ_DEFAULT_FILE", "MYSQLI_OPT_CONNECT_TIMEOUT",
792
+ "MYSQLI_OPT_LOCAL_INFILE", "MYSQLI_INIT_COMMAND", "MYSQLI_CLIENT_SSL",
793
+ "MYSQLI_CLIENT_COMPRESS", "MYSQLI_CLIENT_INTERACTIVE",
794
+ "MYSQLI_CLIENT_IGNORE_SPACE", "MYSQLI_CLIENT_NO_SCHEMA",
795
+ "MYSQLI_CLIENT_FOUND_ROWS", "MYSQLI_STORE_RESULT", "MYSQLI_USE_RESULT",
796
+ "MYSQLI_ASSOC", "MYSQLI_NUM", "MYSQLI_BOTH",
797
+ "MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH", "MYSQLI_STMT_ATTR_CURSOR_TYPE",
798
+ "MYSQLI_CURSOR_TYPE_NO_CURSOR", "MYSQLI_CURSOR_TYPE_READ_ONLY",
799
+ "MYSQLI_CURSOR_TYPE_FOR_UPDATE", "MYSQLI_CURSOR_TYPE_SCROLLABLE",
800
+ "MYSQLI_STMT_ATTR_PREFETCH_ROWS", "MYSQLI_NOT_NULL_FLAG",
801
+ "MYSQLI_PRI_KEY_FLAG", "MYSQLI_UNIQUE_KEY_FLAG", "MYSQLI_MULTIPLE_KEY_FLAG",
802
+ "MYSQLI_BLOB_FLAG", "MYSQLI_UNSIGNED_FLAG", "MYSQLI_ZEROFILL_FLAG",
803
+ "MYSQLI_AUTO_INCREMENT_FLAG", "MYSQLI_TIMESTAMP_FLAG", "MYSQLI_SET_FLAG",
804
+ "MYSQLI_NUM_FLAG", "MYSQLI_PART_KEY_FLAG", "MYSQLI_GROUP_FLAG",
805
+ "MYSQLI_TYPE_DECIMAL", "MYSQLI_TYPE_TINY", "MYSQLI_TYPE_SHORT",
806
+ "MYSQLI_TYPE_LONG", "MYSQLI_TYPE_FLOAT", "MYSQLI_TYPE_DOUBLE",
807
+ "MYSQLI_TYPE_NULL", "MYSQLI_TYPE_TIMESTAMP", "MYSQLI_TYPE_LONGLONG",
808
+ "MYSQLI_TYPE_INT24", "MYSQLI_TYPE_DATE", "MYSQLI_TYPE_TIME",
809
+ "MYSQLI_TYPE_DATETIME", "MYSQLI_TYPE_YEAR", "MYSQLI_TYPE_NEWDATE",
810
+ "MYSQLI_TYPE_ENUM", "MYSQLI_TYPE_SET", "MYSQLI_TYPE_TINY_BLOB",
811
+ "MYSQLI_TYPE_MEDIUM_BLOB", "MYSQLI_TYPE_LONG_BLOB", "MYSQLI_TYPE_BLOB",
812
+ "MYSQLI_TYPE_VAR_STRING", "MYSQLI_TYPE_STRING", "MYSQLI_TYPE_CHAR",
813
+ "MYSQLI_TYPE_INTERVAL", "MYSQLI_TYPE_GEOMETRY", "MYSQLI_TYPE_NEWDECIMAL",
814
+ "MYSQLI_TYPE_BIT", "MYSQLI_RPL_MASTER", "MYSQLI_RPL_SLAVE", "MYSQLI_RPL_ADMIN",
815
+ "MYSQLI_NO_DATA", "MYSQLI_DATA_TRUNCATED", "MYSQLI_REPORT_INDEX",
816
+ "MYSQLI_REPORT_ERROR", "MYSQLI_REPORT_STRICT", "MYSQLI_REPORT_ALL",
817
+ "MYSQLI_REPORT_OFF", "AF_UNIX", "AF_INET", "AF_INET6", "SOCK_STREAM",
818
+ "SOCK_DGRAM", "SOCK_RAW", "SOCK_SEQPACKET", "SOCK_RDM", "MSG_OOB",
819
+ "MSG_WAITALL", "MSG_PEEK", "MSG_DONTROUTE", "SO_DEBUG", "SO_REUSEADDR",
820
+ "SO_KEEPALIVE", "SO_DONTROUTE", "SO_LINGER", "SO_BROADCAST", "SO_OOBINLINE",
821
+ "SO_SNDBUF", "SO_RCVBUF", "SO_SNDLOWAT", "SO_RCVLOWAT", "SO_SNDTIMEO",
822
+ "SO_RCVTIMEO", "SO_TYPE", "SO_ERROR", "SOL_SOCKET", "SOMAXCONN",
823
+ "PHP_NORMAL_READ", "PHP_BINARY_READ", "SOCKET_EINTR", "SOCKET_EBADF",
824
+ "SOCKET_EACCES", "SOCKET_EFAULT", "SOCKET_EINVAL", "SOCKET_EMFILE",
825
+ "SOCKET_EWOULDBLOCK", "SOCKET_EINPROGRESS", "SOCKET_EALREADY",
826
+ "SOCKET_ENOTSOCK", "SOCKET_EDESTADDRREQ", "SOCKET_EMSGSIZE",
827
+ "SOCKET_EPROTOTYPE", "SOCKET_ENOPROTOOPT", "SOCKET_EPROTONOSUPPORT",
828
+ "SOCKET_ESOCKTNOSUPPORT", "SOCKET_EOPNOTSUPP", "SOCKET_EPFNOSUPPORT",
829
+ "SOCKET_EAFNOSUPPORT", "SOCKET_EADDRINUSE", "SOCKET_EADDRNOTAVAIL",
830
+ "SOCKET_ENETDOWN", "SOCKET_ENETUNREACH", "SOCKET_ENETRESET",
831
+ "SOCKET_ECONNABORTED", "SOCKET_ECONNRESET", "SOCKET_ENOBUFS", "SOCKET_EISCONN",
832
+ "SOCKET_ENOTCONN", "SOCKET_ESHUTDOWN", "SOCKET_ETOOMANYREFS",
833
+ "SOCKET_ETIMEDOUT", "SOCKET_ECONNREFUSED", "SOCKET_ELOOP",
834
+ "SOCKET_ENAMETOOLONG", "SOCKET_EHOSTDOWN", "SOCKET_EHOSTUNREACH",
835
+ "SOCKET_ENOTEMPTY", "SOCKET_EPROCLIM", "SOCKET_EUSERS", "SOCKET_EDQUOT",
836
+ "SOCKET_ESTALE", "SOCKET_EREMOTE", "SOCKET_EDISCON", "SOCKET_SYSNOTREADY",
837
+ "SOCKET_VERNOTSUPPORTED", "SOCKET_NOTINITIALISED", "SOCKET_HOST_NOT_FOUND",
838
+ "SOCKET_TRY_AGAIN", "SOCKET_NO_RECOVERY", "SOCKET_NO_DATA",
839
+ "SOCKET_NO_ADDRESS", "SOL_TCP", "SOL_UDP", "EACCELERATOR_VERSION",
840
+ "EACCELERATOR_SHM_AND_DISK", "EACCELERATOR_SHM", "EACCELERATOR_SHM_ONLY",
841
+ "EACCELERATOR_DISK_ONLY", "EACCELERATOR_NONE", "XDEBUG_TRACE_APPEND",
842
+ "XDEBUG_TRACE_COMPUTERIZED", "XDEBUG_TRACE_HTML", "XDEBUG_CC_UNUSED",
843
+ "XDEBUG_CC_DEAD_CODE", "STDIN", "STDOUT", "STDERR", "DNS_HINFO",
844
+ "DNS_PTR", "SQLITE_EMPTY", "SVN_SHOW_UPDATES", "SVN_NO_IGNORE", "MSG_EOF",
845
+ "DNS_MX", "GD_EXTRA_VERSION", "PHP_VERSION_ID", "SQLITE_OK",
846
+ "LIBXML_LOADED_VERSION", "RADIXCHAR", "OPENSSL_VERSION_TEXT", "OPENSSL_VERSION_NUMBER",
847
+ "PCRE_VERSION", "CURLOPT_FILE", "CURLOPT_INFILE", "CURLOPT_URL", "CURLOPT_PROXY",
848
+ "CURLE_FUNCTION_NOT_FOUND", "SOCKET_ENOMSG", "CURLOPT_HTTPHEADER", "SOCKET_EIDRM",
849
+ "CURLOPT_PROGRESSFUNCTION", "SOCKET_ECHRNG", "SOCKET_EL2NSYNC", "SOCKET_EL3HLT",
850
+ "SOCKET_EL3RST", "SOCKET_ELNRNG", "SOCKET_ENOCSI", "SOCKET_EL2HLT", "SOCKET_EBADE",
851
+ "SOCKET_EXFULL", "CURLOPT_USERPWD", "CURLOPT_PROXYUSERPWD", "CURLOPT_RANGE",
852
+ "CURLOPT_TIMEOUT_MS", "CURLOPT_POSTFIELDS", "CURLOPT_REFERER", "CURLOPT_USERAGENT",
853
+ "CURLOPT_FTPPORT", "SOCKET_ERESTART", "SQLITE_CONSTRAINT", "SQLITE_MISMATCH",
854
+ "SQLITE_MISUSE", "CURLOPT_COOKIE", "CURLE_SSL_CERTPROBLEM", "CURLOPT_SSLCERT",
855
+ "CURLOPT_KEYPASSWD", "CURLOPT_WRITEHEADER", "CURLOPT_SSL_VERIFYHOST",
856
+ "CURLOPT_COOKIEFILE", "CURLE_HTTP_RANGE_ERROR", "CURLE_HTTP_POST_ERROR",
857
+ "CURLOPT_CUSTOMREQUEST", "CURLOPT_STDERR", "SOCKET_EBADR", "CURLOPT_RETURNTRANSFER",
858
+ "CURLOPT_QUOTE", "CURLOPT_POSTQUOTE", "CURLOPT_INTERFACE", "CURLOPT_KRB4LEVEL",
859
+ "SOCKET_ENODATA", "SOCKET_ESRMNT", "CURLOPT_WRITEFUNCTION", "CURLOPT_READFUNCTION",
860
+ "CURLOPT_HEADERFUNCTION", "SOCKET_EADV", "SOCKET_EPROTO", "SOCKET_EMULTIHOP",
861
+ "SOCKET_EBADMSG", "CURLOPT_FORBID_REUSE", "CURLOPT_RANDOM_FILE", "CURLOPT_EGDSOCKET",
862
+ "SOCKET_EREMCHG", "CURLOPT_CONNECTTIMEOUT_MS", "CURLOPT_CAINFO", "CURLOPT_CAPATH",
863
+ "CURLOPT_COOKIEJAR", "CURLOPT_SSL_CIPHER_LIST", "CURLOPT_BINARYTRANSFER",
864
+ "SQLITE_DONE", "CURLOPT_HTTP_VERSION", "CURLOPT_SSLKEY", "CURLOPT_SSLKEYTYPE",
865
+ "CURLOPT_SSLENGINE", "CURLOPT_SSLCERTTYPE", "CURLE_OUT_OF_MEMORY", "CURLOPT_ENCODING",
866
+ "CURLE_SSL_CIPHER", "SOCKET_EREMOTEIO", "CURLOPT_HTTP200ALIASES", "CURLAUTH_ANY",
867
+ "CURLAUTH_ANYSAFE", "CURLOPT_PRIVATE", "CURLINFO_EFFECTIVE_URL", "CURLINFO_HTTP_CODE",
868
+ "CURLINFO_HEADER_SIZE", "CURLINFO_REQUEST_SIZE", "CURLINFO_TOTAL_TIME",
869
+ "CURLINFO_NAMELOOKUP_TIME", "CURLINFO_CONNECT_TIME", "CURLINFO_PRETRANSFER_TIME",
870
+ "CURLINFO_SIZE_UPLOAD", "CURLINFO_SIZE_DOWNLOAD", "CURLINFO_SPEED_DOWNLOAD",
871
+ "CURLINFO_SPEED_UPLOAD", "CURLINFO_FILETIME", "CURLINFO_SSL_VERIFYRESULT",
872
+ "CURLINFO_CONTENT_LENGTH_DOWNLOAD", "CURLINFO_CONTENT_LENGTH_UPLOAD",
873
+ "CURLINFO_STARTTRANSFER_TIME", "CURLINFO_CONTENT_TYPE", "CURLINFO_REDIRECT_TIME",
874
+ "CURLINFO_REDIRECT_COUNT", "CURLINFO_PRIVATE", "CURLINFO_CERTINFO",
875
+ "SQLITE_PROTOCOL", "SQLITE_SCHEMA", "SQLITE_TOOBIG", "SQLITE_NOLFS",
876
+ "SQLITE_AUTH", "SQLITE_FORMAT", "SOCKET_ENOTTY", "SQLITE_NOTADB",
877
+ "SOCKET_ENOSPC", "SOCKET_ESPIPE", "SOCKET_EROFS", "SOCKET_EMLINK", "GD_RELEASE_VERSION",
878
+ "SOCKET_ENOLCK", "SOCKET_ENOSYS", "SOCKET_EUNATCH", "SOCKET_ENOANO", "SOCKET_EBADRQC",
879
+ "SOCKET_EBADSLT", "SOCKET_ENOSTR", "SOCKET_ETIME", "SOCKET_ENOSR", "SVN_REVISION_HEAD",
880
+ "XSD_ENTITY", "XSD_NOTATION", "CURLOPT_CERTINFO", "CURLOPT_POSTREDIR", "CURLOPT_SSH_AUTH_TYPES",
881
+ "CURLOPT_SSH_PUBLIC_KEYFILE", "CURLOPT_SSH_PRIVATE_KEYFILE", "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5",
882
+ "CURLE_SSH", "CURLOPT_REDIR_PROTOCOLS", "CURLOPT_PROTOCOLS", "XSD_NONNEGATIVEINTEGER",
883
+ "XSD_BYTE","DNS_SRV","DNS_A6", "DNS_NAPTR", "DNS_AAAA", "FILTER_SANITIZE_FULL_SPECIAL_CHARS",
884
+ "ABDAY_1", "SVN_REVISION_UNSPECIFIED", "SVN_REVISION_BASE", "SVN_REVISION_COMMITTED",
885
+ "SVN_REVISION_PREV", "GD_VERSION", "MCRYPT_TRIPLEDES", "MCRYPT_ARCFOUR_IV", "MCRYPT_ARCFOUR",
886
+ "MCRYPT_BLOWFISH", "MCRYPT_BLOWFISH_COMPAT", "MCRYPT_CAST_128", "MCRYPT_CAST_256",
887
+ "MCRYPT_ENIGNA", "MCRYPT_DES", "MCRYPT_GOST", "MCRYPT_LOKI97", "MCRYPT_PANAMA",
888
+ "MCRYPT_RC2", "MCRYPT_RIJNDAEL_128", "MCRYPT_RIJNDAEL_192", "MCRYPT_RIJNDAEL_256",
889
+ "MCRYPT_SAFER64", "MCRYPT_SAFER128","MCRYPT_SAFERPLUS", "MCRYPT_SERPENT", "MCRYPT_THREEWAY",
890
+ "MCRYPT_TWOFISH", "MCRYPT_WAKE", "MCRYPT_XTEA", "MCRYPT_IDEA", "MCRYPT_MARS",
891
+ "MCRYPT_RC6", "MCRYPT_SKIPJACK", "MCRYPT_MODE_CBC", "MCRYPT_MODE_CFB", "MCRYPT_MODE_ECB",
892
+ "MCRYPT_MODE_NOFB", "MCRYPT_MODE_OFB", "MCRYPT_MODE_STREAM", "CL_EXPUNGE",
893
+ "SQLITE_ROW", "POSIX_S_IFBLK", "POSIX_S_IFSOCK", "XSD_IDREF", "ABDAY_2",
894
+ "ABDAY_3", "ABDAY_4", "ABDAY_5", "ABDAY_6", "ABDAY_7", "DAY_1", "DAY_2",
895
+ "DAY_3", "DAY_4", "DAY_5", "DAY_6", "DAY_7", "ABMON_1", "ABMON_2", "ABMON_3",
896
+ "ABMON_4", "ABMON_5", "ABMON_6", "ABMON_7","ABMON_8", "ABMON_9", "ABMON_10",
897
+ "ABMON_11", "ABMON_12", "MON_1", "MON_2", "MON_3", "MON_4", "MON_5", "MON_6",
898
+ "MON_7", "MON_8", "MON_9", "MON_10", "MON_11", "MON_12", "AM_STR", "PM_STR",
899
+ "D_T_FMT", "D_FMT", "T_FMT", "T_FMT_AMPM", "ERA", "ERA_D_T_FMT", "ERA_D_FMT",
900
+ "ERA_T_FMT", "ALT_DIGITS", "CRNCYSTR", "THOUSEP", "YESEXPR", "NOEXPR",
901
+ "SOCKET_ENOMEDIUM", "GLOB_AVAILABLE_FLAGS", "XSD_SHORT", "XSD_NMTOKENS",
902
+ "LOG_LOCAL3", "LOG_LOCAL4", "LOG_LOCAL5", "LOG_LOCAL6", "LOG_LOCAL7",
903
+ "DNS_ANY", "DNS_ALL", "SOCKET_ENOLINK", "SOCKET_ECOMM", "SOAP_FUNCTIONS_ALL",
904
+ "UNKNOWN_TYPE", "XSD_BASE64BINARY", "XSD_ANYURI", "XSD_QNAME", "SOCKET_EISNAM",
905
+ "SOCKET_EMEDIUMTYPE", "XSD_NCNAME", "XSD_ID", "XSD_ENTITIES", "XSD_INTEGER",
906
+ "XSD_NONPOSITIVEINTEGER", "XSD_NEGATIVEINTEGER", "XSD_LONG", "XSD_INT",
907
+ "XSD_UNSIGNEDLONG", "XSD_UNSIGNEDINT", "XSD_UNSIGNEDSHORT", "XSD_UNSIGNEDBYTE",
908
+ "XSD_POSITIVEINTEGER", "XSD_ANYTYPE", "XSD_ANYXML", "APACHE_MAP", "XSD_1999_TIMEINSTANT",
909
+ "XSD_NAMESPACE", "XSD_1999_NAMESPACE", "SOCKET_ENOTUNIQ", "SOCKET_EBADFD",
910
+ "SOCKET_ESTRPIPE", "T_GOTO", "T_NAMESPACE", "T_NS_C", "T_DIR", "T_NS_SEPARATOR",
911
+ "LIBXSLT_VERSION","LIBEXSLT_DOTTED_VERSION", "LIBEXSLT_VERSION", "SVN_AUTH_PARAM_DEFAULT_USERNAME",
912
+ "SVN_AUTH_PARAM_DEFAULT_PASSWORD", "SVN_AUTH_PARAM_NON_INTERACTIVE",
913
+ "SVN_AUTH_PARAM_DONT_STORE_PASSWORDS", "SVN_AUTH_PARAM_NO_AUTH_CACHE",
914
+ "SVN_AUTH_PARAM_SSL_SERVER_FAILURES", "SVN_AUTH_PARAM_SSL_SERVER_CERT_INFO",
915
+ "SVN_AUTH_PARAM_CONFIG", "SVN_AUTH_PARAM_SERVER_GROUP",
916
+ "SVN_AUTH_PARAM_CONFIG_DIR", "PHP_SVN_AUTH_PARAM_IGNORE_SSL_VERIFY_ERRORS",
917
+ "SVN_FS_CONFIG_FS_TYPE", "SVN_FS_TYPE_BDB", "SVN_FS_TYPE_FSFS", "SVN_PROP_REVISION_DATE",
918
+ "SVN_PROP_REVISION_ORIG_DATE", "SVN_PROP_REVISION_AUTHOR", "SVN_PROP_REVISION_LOG"
919
+ ].forEach(function(element, index, array) {
920
+ result[element] = token("atom", "php-predefined-constant");
921
+ });
922
+
923
+ // PHP declared classes - output of get_declared_classes(). Differs from http://php.net/manual/en/reserved.classes.php
924
+ [ "stdClass", "Exception", "ErrorException", "COMPersistHelper", "com_exception",
925
+ "com_safearray_proxy", "variant", "com", "dotnet", "ReflectionException",
926
+ "Reflection", "ReflectionFunctionAbstract", "ReflectionFunction",
927
+ "ReflectionParameter", "ReflectionMethod", "ReflectionClass",
928
+ "ReflectionObject", "ReflectionProperty", "ReflectionExtension", "DateTime",
929
+ "DateTimeZone", "LibXMLError", "__PHP_Incomplete_Class", "php_user_filter",
930
+ "Directory", "SimpleXMLElement", "DOMException", "DOMStringList",
931
+ "DOMNameList", "DOMImplementationList", "DOMImplementationSource",
932
+ "DOMImplementation", "DOMNode", "DOMNameSpaceNode", "DOMDocumentFragment",
933
+ "DOMDocument", "DOMNodeList", "DOMNamedNodeMap", "DOMCharacterData", "DOMAttr",
934
+ "DOMElement", "DOMText", "DOMComment", "DOMTypeinfo", "DOMUserDataHandler",
935
+ "DOMDomError", "DOMErrorHandler", "DOMLocator", "DOMConfiguration",
936
+ "DOMCdataSection", "DOMDocumentType", "DOMNotation", "DOMEntity",
937
+ "DOMEntityReference", "DOMProcessingInstruction", "DOMStringExtend",
938
+ "DOMXPath", "RecursiveIteratorIterator", "IteratorIterator", "FilterIterator",
939
+ "RecursiveFilterIterator", "ParentIterator", "LimitIterator",
940
+ "CachingIterator", "RecursiveCachingIterator", "NoRewindIterator",
941
+ "AppendIterator", "InfiniteIterator", "RegexIterator",
942
+ "RecursiveRegexIterator", "EmptyIterator", "ArrayObject", "ArrayIterator",
943
+ "RecursiveArrayIterator", "SplFileInfo", "DirectoryIterator",
944
+ "RecursiveDirectoryIterator", "SplFileObject", "SplTempFileObject",
945
+ "SimpleXMLIterator", "LogicException", "BadFunctionCallException",
946
+ "BadMethodCallException", "DomainException", "InvalidArgumentException",
947
+ "LengthException", "OutOfRangeException", "RuntimeException",
948
+ "OutOfBoundsException", "OverflowException", "RangeException",
949
+ "UnderflowException", "UnexpectedValueException", "SplObjectStorage",
950
+ "XMLReader", "XMLWriter", "mysqli_sql_exception", "mysqli_driver", "mysqli",
951
+ "mysqli_warning", "mysqli_result", "mysqli_stmt", "PDOException", "PDO",
952
+ "PDOStatement", "PDORow","Closure", "DateInterval", "DatePeriod", "FilesystemIterator",
953
+ "GlobIterator", "MultipleIterator", "RecursiveTreeIterator", "SoapClient",
954
+ "SoapFault", "SoapHeader", "SoapParam", "SoapServer", "SoapVar", "SplDoublyLinkedList",
955
+ "SplFixedArray", "SplHeap", "SplMaxHeap", "SplMinHeap", "SplPriorityQueue",
956
+ "SplQueue", "SplStack", "SQLite3", "SQLite3Result", "SQLite3Stmt", "SQLiteDatabase",
957
+ "SQLiteException", "SQLiteResult", "SQLiteUnbuffered", "Svn", "SvnNode", "SvnWc",
958
+ "SvnWcSchedule", "XSLTProcessor", "ZipArchive",
959
+ ].forEach(function(element, index, array) {
960
+ result[element] = token("t_string", "php-predefined-class");
961
+ });
962
+
963
+ return result;
964
+
965
+ }();
966
+
967
+ // Helper regexps
968
+ var isOperatorChar = /[+*&%\/=<>!?.|^@-]/;
969
+ var isHexDigit = /[0-9A-Fa-f]/;
970
+ var isWordChar = /[\w\$_\\]/;
971
+
972
+ // Wrapper around phpToken that helps maintain parser state (whether
973
+ // we are inside of a multi-line comment)
974
+ function phpTokenState(inside) {
975
+ return function(source, setState) {
976
+ var newInside = inside;
977
+ var type = phpToken(inside, source, function(c) {newInside = c;});
978
+ if (newInside != inside)
979
+ setState(phpTokenState(newInside));
980
+ return type;
981
+ };
982
+ }
983
+
984
+ // The token reader, inteded to be used by the tokenizer from
985
+ // tokenize.js (through phpTokenState). Advances the source stream
986
+ // over a token, and returns an object containing the type and style
987
+ // of that token.
988
+ function phpToken(inside, source, setInside) {
989
+ function readHexNumber(){
990
+ source.next(); // skip the 'x'
991
+ source.nextWhileMatches(isHexDigit);
992
+ return {type: "number", style: "php-atom"};
993
+ }
994
+
995
+ function readNumber() {
996
+ source.nextWhileMatches(/[0-9]/);
997
+ if (source.equals(".")){
998
+ source.next();
999
+ source.nextWhileMatches(/[0-9]/);
1000
+ }
1001
+ if (source.equals("e") || source.equals("E")){
1002
+ source.next();
1003
+ if (source.equals("-"))
1004
+ source.next();
1005
+ source.nextWhileMatches(/[0-9]/);
1006
+ }
1007
+ return {type: "number", style: "php-atom"};
1008
+ }
1009
+ // Read a word and look it up in the keywords array. If found, it's a
1010
+ // keyword of that type; otherwise it's a PHP T_STRING.
1011
+ function readWord() {
1012
+ source.nextWhileMatches(isWordChar);
1013
+ var word = source.get();
1014
+ var known = keywords.hasOwnProperty(word) && keywords.propertyIsEnumerable(word) && keywords[word];
1015
+ // since we called get(), tokenize::take won't get() anything. Thus, we must set token.content
1016
+ return known ? {type: known.type, style: known.style, content: word} :
1017
+ {type: "t_string", style: "php-t_string", content: word};
1018
+ }
1019
+ function readVariable() {
1020
+ source.nextWhileMatches(isWordChar);
1021
+ var word = source.get();
1022
+ // in PHP, '$this' is a reserved word, but 'this' isn't. You can have function this() {...}
1023
+ if (word == "$this")
1024
+ return {type: "variable", style: "php-keyword", content: word};
1025
+ else
1026
+ return {type: "variable", style: "php-variable", content: word};
1027
+ }
1028
+
1029
+ // Advance the stream until the given character (not preceded by a
1030
+ // backslash) is encountered, or the end of the line is reached.
1031
+ function nextUntilUnescaped(source, end) {
1032
+ var escaped = false;
1033
+ while(!source.endOfLine()){
1034
+ var next = source.next();
1035
+ if (next == end && !escaped)
1036
+ return false;
1037
+ escaped = next == "\\" && !escaped;
1038
+ }
1039
+ return escaped;
1040
+ }
1041
+
1042
+ function readSingleLineComment() {
1043
+ // read until the end of the line or until ?>, which terminates single-line comments
1044
+ // `<?php echo 1; // comment ?> foo` will display "1 foo"
1045
+ while(!source.lookAhead("?>") && !source.endOfLine())
1046
+ source.next();
1047
+ return {type: "comment", style: "php-comment"};
1048
+ }
1049
+ /* For multi-line comments, we want to return a comment token for
1050
+ every line of the comment, but we also want to return the newlines
1051
+ in them as regular newline tokens. We therefore need to save a
1052
+ state variable ("inside") to indicate whether we are inside a
1053
+ multi-line comment.
1054
+ */
1055
+
1056
+ function readMultilineComment(start){
1057
+ var newInside = "/*";
1058
+ var maybeEnd = (start == "*");
1059
+ while (true) {
1060
+ if (source.endOfLine())
1061
+ break;
1062
+ var next = source.next();
1063
+ if (next == "/" && maybeEnd){
1064
+ newInside = null;
1065
+ break;
1066
+ }
1067
+ maybeEnd = (next == "*");
1068
+ }
1069
+ setInside(newInside);
1070
+ return {type: "comment", style: "php-comment"};
1071
+ }
1072
+
1073
+ // similar to readMultilineComment and nextUntilUnescaped
1074
+ // unlike comments, strings are not stopped by ?>
1075
+ function readMultilineString(start){
1076
+ var newInside = start;
1077
+ var escaped = false;
1078
+ while (true) {
1079
+ if (source.endOfLine())
1080
+ break;
1081
+ var next = source.next();
1082
+ if (next == start && !escaped){
1083
+ newInside = null; // we're outside of the string now
1084
+ break;
1085
+ }
1086
+ escaped = (next == "\\" && !escaped);
1087
+ }
1088
+ setInside(newInside);
1089
+ return {
1090
+ type: newInside == null? "string" : "string_not_terminated",
1091
+ style: (start == "'"? "php-string-single-quoted" : "php-string-double-quoted")
1092
+ };
1093
+ }
1094
+
1095
+ // http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
1096
+ // See also 'nowdoc' on the page. Heredocs are not interrupted by the '?>' token.
1097
+ function readHeredoc(identifier){
1098
+ var token = {};
1099
+ if (identifier == "<<<") {
1100
+ // on our first invocation after reading the <<<, we must determine the closing identifier
1101
+ if (source.equals("'")) {
1102
+ // nowdoc
1103
+ source.nextWhileMatches(isWordChar);
1104
+ identifier = "'" + source.get() + "'";
1105
+ source.next(); // consume the closing "'"
1106
+ } else if (source.matches(/[A-Za-z_]/)) {
1107
+ // heredoc
1108
+ source.nextWhileMatches(isWordChar);
1109
+ identifier = source.get();
1110
+ } else {
1111
+ // syntax error
1112
+ setInside(null);
1113
+ return { type: "error", style: "syntax-error" };
1114
+ }
1115
+ setInside(identifier);
1116
+ token.type = "string_not_terminated";
1117
+ token.style = identifier.charAt(0) == "'"? "php-string-single-quoted" : "php-string-double-quoted";
1118
+ token.content = identifier;
1119
+ } else {
1120
+ token.style = identifier.charAt(0) == "'"? "php-string-single-quoted" : "php-string-double-quoted";
1121
+ // consume a line of heredoc and check if it equals the closing identifier plus an optional semicolon
1122
+ if (source.lookAhead(identifier, true) && (source.lookAhead(";\n") || source.endOfLine())) {
1123
+ // the closing identifier can only appear at the beginning of the line
1124
+ // note that even whitespace after the ";" is forbidden by the PHP heredoc syntax
1125
+ token.type = "string";
1126
+ token.content = source.get(); // don't get the ";" if there is one
1127
+ setInside(null);
1128
+ } else {
1129
+ token.type = "string_not_terminated";
1130
+ source.nextWhileMatches(/[^\n]/);
1131
+ token.content = source.get();
1132
+ }
1133
+ }
1134
+ return token;
1135
+ }
1136
+
1137
+ function readOperator() {
1138
+ source.nextWhileMatches(isOperatorChar);
1139
+ return {type: "operator", style: "php-operator"};
1140
+ }
1141
+ function readStringSingleQuoted() {
1142
+ var endBackSlash = nextUntilUnescaped(source, "'", false);
1143
+ setInside(endBackSlash ? "'" : null);
1144
+ return {type: "string", style: "php-string-single-quoted"};
1145
+ }
1146
+ function readStringDoubleQuoted() {
1147
+ var endBackSlash = nextUntilUnescaped(source, "\"", false);
1148
+ setInside(endBackSlash ? "\"": null);
1149
+ return {type: "string", style: "php-string-double-quoted"};
1150
+ }
1151
+
1152
+ // Fetch the next token. Dispatches on first character in the
1153
+ // stream, or first two characters when the first is a slash.
1154
+ switch (inside) {
1155
+ case null:
1156
+ case false: break;
1157
+ case "'":
1158
+ case "\"": return readMultilineString(inside);
1159
+ case "/*": return readMultilineComment(source.next());
1160
+ default: return readHeredoc(inside);
1161
+ }
1162
+ var ch = source.next();
1163
+ if (ch == "'" || ch == "\"")
1164
+ return readMultilineString(ch);
1165
+ else if (ch == "#")
1166
+ return readSingleLineComment();
1167
+ else if (ch == "$")
1168
+ return readVariable();
1169
+ else if (ch == ":" && source.equals(":")) {
1170
+ source.next();
1171
+ // the T_DOUBLE_COLON can only follow a T_STRING (class name)
1172
+ return {type: "t_double_colon", style: "php-operator"};
1173
+ }
1174
+ // with punctuation, the type of the token is the symbol itself
1175
+ else if (/[\[\]{}\(\),;:]/.test(ch)) {
1176
+ return {type: ch, style: "php-punctuation"};
1177
+ }
1178
+ else if (ch == "0" && (source.equals("x") || source.equals("X")))
1179
+ return readHexNumber();
1180
+ else if (/[0-9]/.test(ch))
1181
+ return readNumber();
1182
+ else if (ch == "/") {
1183
+ if (source.equals("*"))
1184
+ { source.next(); return readMultilineComment(ch); }
1185
+ else if (source.equals("/"))
1186
+ return readSingleLineComment();
1187
+ else
1188
+ return readOperator();
1189
+ }
1190
+ else if (ch == "<") {
1191
+ if (source.lookAhead("<<", true)) {
1192
+ setInside("<<<");
1193
+ return {type: "<<<", style: "php-punctuation"};
1194
+ }
1195
+ else
1196
+ return readOperator();
1197
+ }
1198
+ else if (isOperatorChar.test(ch))
1199
+ return readOperator();
1200
+ else
1201
+ return readWord();
1202
+ }
1203
+
1204
+ // The external interface to the tokenizer.
1205
+ return function(source, startState) {
1206
+ return tokenizer(source, startState || phpTokenState(false, true));
1207
+ };
1208
+ })();