[翻譯:陳市明 摘自:http://drupal.org/node/49768]
Node對(duì)象:
[name] => 創(chuàng)建結(jié)點(diǎn)的用戶(hù)名
[date] => 創(chuàng)建結(jié)點(diǎn)的時(shí)間
[status] => 是否發(fā)布{True:發(fā)布|False:未發(fā)布 }(在action+workflow中可以做審核處理)
[moderate] => 是否可修改{0:只讀|1:修改}
[promote] => 是否發(fā)布首頁(yè){0:是|1:否}
[sticky] => 是否置頂{0:否|1:是}
[revision] => TRUE/FALSE this is a new revision (if TRUE, will be saved as a separate entry in the database)
[comment]=> 對(duì)該結(jié)點(diǎn)是否允許添加,閱讀或者是對(duì)其設(shè)置權(quán)限
[simple_access]=> 對(duì)權(quán)限模塊的一個(gè)
[title] => 顯示結(jié)點(diǎn)頁(yè)面的標(biāo)題
[taxonomy] => 分類(lèi)(數(shù)組,具體查看Taxonomy模塊)
[body] => 結(jié)點(diǎn)的內(nèi)容
[format] => 符合Filter模塊的Content內(nèi)容
[uid] => 創(chuàng)建結(jié)點(diǎn)的用戶(hù)ID
[created] => 創(chuàng)建結(jié)點(diǎn)的Unix類(lèi)型的時(shí)間戳
[type] => 結(jié)點(diǎn)類(lèi)型(如:book,page,forum,具體查看cck模塊)
[teaser] => 內(nèi)容概要
[validated] => 該結(jié)點(diǎn)是否有效{0:否|1:是}(是否已經(jīng)保存)
[changed] => 修改結(jié)點(diǎn)的Unix類(lèi)型的時(shí)間戳
[nid] => 結(jié)點(diǎn)ID
原文:
Node對(duì)象:
[name] => 創(chuàng)建結(jié)點(diǎn)的用戶(hù)名
[date] => 創(chuàng)建結(jié)點(diǎn)的時(shí)間
[status] => 是否發(fā)布{True:發(fā)布|False:未發(fā)布 }(在action+workflow中可以做審核處理)
[moderate] => 是否可修改{0:只讀|1:修改}
[promote] => 是否發(fā)布首頁(yè){0:是|1:否}
[sticky] => 是否置頂{0:否|1:是}
[revision] => TRUE/FALSE this is a new revision (if TRUE, will be saved as a separate entry in the database)
[comment]=> 對(duì)該結(jié)點(diǎn)是否允許添加,閱讀或者是對(duì)其設(shè)置權(quán)限
[simple_access]=> 對(duì)權(quán)限模塊的一個(gè)
[title] => 顯示結(jié)點(diǎn)頁(yè)面的標(biāo)題
[taxonomy] => 分類(lèi)(數(shù)組,具體查看Taxonomy模塊)
[body] => 結(jié)點(diǎn)的內(nèi)容
[format] => 符合Filter模塊的Content內(nèi)容
[uid] => 創(chuàng)建結(jié)點(diǎn)的用戶(hù)ID
[created] => 創(chuàng)建結(jié)點(diǎn)的Unix類(lèi)型的時(shí)間戳
[type] => 結(jié)點(diǎn)類(lèi)型(如:book,page,forum,具體查看cck模塊)
[teaser] => 內(nèi)容概要
[validated] => 該結(jié)點(diǎn)是否有效{0:否|1:是}(是否已經(jīng)保存)
[changed] => 修改結(jié)點(diǎn)的Unix類(lèi)型的時(shí)間戳
[nid] => 結(jié)點(diǎn)ID
原文:
&$node?-?Node?object
[name]?=>?Username?of?node?creator
[date]?=>?Date?the?node?was?created
[status]?=>?TRUE/FALSE?=?published/unpublished
[moderate]?=>?Moderation?enabled?(0|1)
[promote]?=>?Promoted?to?front?page?(0|1)
[sticky]?=>?Sticky?(0|1)
[revision]?=>?TRUE/FALSE?this?is?a?new?revision?(if?TRUE,?will?be?saved?as?a?separate?entry?in?the?database)
[comment]?=>?whether?comments?can?be?added,?read,?or?accessed,?for?this?node
[simple_access]?=>?Array?--?A?list?of?permissions?for?the?Simple?Access?module
(
[view]?=>?0
)
[title]?=>?Page?title
[taxonomy]?=>?Array?--?Taxonomy?classification
(
[0]?=>?0
)
[body]?=>?Body?content?of?node
[format]?=>?which?filter?applies?to?this?content.
[uid]?=>?User?ID?of?node?creator
[created]?=>?UNIX?timestamp?of?node?creation?date.
[type]?=>?Type?of?node?(e.g.?book,?page,?forum)
[teaser]?=>?Teaser?(the?initial?part?of?the?body)
[validated]?=>?has?the?node?passed?validation??(0|1)?(is?it?ready?to?be?saved).
[changed]?=>?UNIX?timestamp?of?last?time?node?was?changed.
[nid]?=>?Node?ID
[name]?=>?Username?of?node?creator
[date]?=>?Date?the?node?was?created
[status]?=>?TRUE/FALSE?=?published/unpublished
[moderate]?=>?Moderation?enabled?(0|1)
[promote]?=>?Promoted?to?front?page?(0|1)
[sticky]?=>?Sticky?(0|1)
[revision]?=>?TRUE/FALSE?this?is?a?new?revision?(if?TRUE,?will?be?saved?as?a?separate?entry?in?the?database)
[comment]?=>?whether?comments?can?be?added,?read,?or?accessed,?for?this?node
[simple_access]?=>?Array?--?A?list?of?permissions?for?the?Simple?Access?module
(
[view]?=>?0
)
[title]?=>?Page?title
[taxonomy]?=>?Array?--?Taxonomy?classification
(
[0]?=>?0
)
[body]?=>?Body?content?of?node
[format]?=>?which?filter?applies?to?this?content.
[uid]?=>?User?ID?of?node?creator
[created]?=>?UNIX?timestamp?of?node?creation?date.
[type]?=>?Type?of?node?(e.g.?book,?page,?forum)
[teaser]?=>?Teaser?(the?initial?part?of?the?body)
[validated]?=>?has?the?node?passed?validation??(0|1)?(is?it?ready?to?be?saved).
[changed]?=>?UNIX?timestamp?of?last?time?node?was?changed.
[nid]?=>?Node?ID