随笔 - 612, 文章 - 0, 评论 - 31, 阅读 - 74万

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

04 2014 档案

摘要:drupal_render()只是对theme()的调用做了包装,真正做任务的还是theme()。function theme($hook, $variables = array()) { ... ...}theme()的开头检查了module_load_all()是否有执行。theme()只能在... 阅读全文

posted @ 2014-04-30 11:59 eastson 阅读(551) 评论(0) 推荐(0) 编辑

摘要:drupal_render()函数接收一个结构化的数组作为参数,然后调用theme()输出HTML。function drupal_render(&$elements) { ... ...}$elements['#printed']控制是否已经执行过,避免重复执行。在drupal_render()... 阅读全文

posted @ 2014-04-30 08:26 eastson 阅读(693) 评论(0) 推荐(0) 编辑

摘要:Drupal 7 driver for Microsoft SQL Server database engines. It supports both SQL Server (version 2008 and later), and SQL Azure, part of Microsoft Azur... 阅读全文

posted @ 2014-04-22 13:47 eastson 阅读(155) 评论(0) 推荐(0) 编辑

摘要:因个人需要需要重新安装Drupal。如何操纵呢?Drupal是在_drupal_bootstrap_database()函数里面检查是否已经安装过的。检查的依据是有没有$GLOBALS['databases']设置,或者是有没有设置常量MAINTENANCE_MODE=install。functio... 阅读全文

posted @ 2014-04-22 12:02 eastson 阅读(1114) 评论(0) 推荐(0) 编辑

摘要:Bootstrap 3 Menu Generator 阅读全文

posted @ 2014-04-17 16:27 eastson 阅读(231) 评论(0) 推荐(0) 编辑

摘要:这里仅限OSGi注册的Servlet,WebServer里面应该有所不同。http.registerServlet("/control/main", new ControlServlet(), null, null);http://localhost/control/mainServletPath=/control/mainContextPath=RequestURI=/control/mainRequestURL=http://localhost/control/mainPathInfo=nullhttp://localhost/control/main/ServletP 阅读全文

posted @ 2014-04-04 11:36 eastson 阅读(222) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示