figure 5 shows the permissions for flitter on the permission administration page.
图5显示权限管理页面上的flitter的权限。
to realize flitter, you must extend the drupal database to include a new flitter table; permissions to access flitter data, or flits; a form to edit a flit; and some code to manipulate the database.
because flitter creates a new content type, the next step must define a new database table to persist the custom flitter data and correlate its fields to a drupal node.
by convention, the creation and deletion, which occurs when you uninstall the module, of the new flitter table is defined in a special file, flitter.install, using a set of specifically named hooks.
listing 2. flitter_node_info() describes content types defined by flitter
清单2. flitter_node_info()描述由flitter定义的内容类型
letters are no longer fixed in black ink on paper, but flitter on a glass surface in a rainbow of colors as fast as our eyes can blink.
文字已经不限于用笔墨书写的固定字块,而可以成为在玻璃屏幕上快速闪烁、多姿多彩的活动文字。
let's call a flitter datum a flit.
让我们将一段 flitter数据称为一个flit。
this hook provides additional information about the flitter module and its intended usage.
这个钩子提供关于flitter模块和它的设计用途的附加信息。
when you enable the module, its installer adds the flitter table, makes the content type available to qualified users, and renders flits to specification.