ļ»??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品这里都是精品,欧美精品少妇,日韩欧美亚洲国产一区http://www.aygfsteel.com/JPeanut/category/20995.html搬迁č‡?http://www.17m.net.cn/zh-cnTue, 27 Mar 2007 13:42:31 GMTTue, 27 Mar 2007 13:42:31 GMT60Drupal5.xåˆ›å¾č‡Ŗå®šä¹‰ęØ”å—ęŒ‡å—ļ¼02ęŠŠä½ ēš„ęØ”å—å‘ŠēŸ„Drupal¾pȝ»Ÿ(Creating modules - a tutorial: Drupal 5.x åQļ¼02. Telling Drupal about your module)http://www.aygfsteel.com/JPeanut/archive/2007/03/27/106584.htmlé™ˆåø‚ę˜?/dc:creator>é™ˆåø‚ę˜?/author>Tue, 27 Mar 2007 01:32:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2007/03/27/106584.htmlhttp://www.aygfsteel.com/JPeanut/comments/106584.htmlhttp://www.aygfsteel.com/JPeanut/archive/2007/03/27/106584.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/106584.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/106584.html[¾˜»čƑ:é™ˆåø‚ę˜?ę‘˜č‡Ŗ:http://drupal.org/node/82926]
Ā Ā  åœ?.xäø­ļ¼Œä½ ęØ”å—ēš„åŸŗęœ¬äæ”ęÆäøå†ę˜Æé€ščæ‡å‡½ę•°hook_helpęä¾›¾l™DrupalåQŒč€Œę˜ÆåœØinfoꖇäšg定义name和description卛_ÆåQˆå…·ä½“ę ¼å¼å‚č§infoꖇäšgęŒ‡å—åQ‰ć€‚åœØęˆ‘ä»¬ēš„ä¾‹å­äø­åQŒčÆ„ę–‡äšgäøŗonthisdate.info
Ā é€šåøøę ¼å¼å¦‚äø‹åQ?br />
;Ā $Id$
nameĀ 
=Ā ModuleĀ Name
descriptionĀ 
=Ā "AĀ descriptionĀ ofĀ whatĀ yourĀ moduleĀ does."

å¦‚ęžœę²”ęœ‰˜q™äøŖę–‡äšgåQŒåˆ™drupaläøčƒ½åœØęØ”å—å®‰č£…ēš„ę—¶å€™ę‰¾åˆ°čÆ„ęØ”å—ć€?br />åœØęˆ‘ä»¬ēš„ä¾‹å­äø­ļ¼Œonthisdate.infoåŗ”čÆ„åŒ…å«å¦‚äø‹ę•°ę®åQ?br />
;Ā $Id$
nameĀ 
=Ā OnĀ thisĀ date
descriptionĀ 
=Ā "AĀ blockĀ moduleĀ thatĀ listsĀ linksĀ toĀ contentĀ suchĀ asĀ blogĀ entriesĀ orĀ forumĀ discussionsĀ thatĀ wereĀ createdĀ oneĀ weekĀ ago."
ž®†ęŠŠ˜q™äŗ›ä»£ē å†™åˆ°onthisdate.infoꖇäšgäø­ļ¼Œäæå­˜åˆ°sites/all/modules/onthisdate目录
äø‹é¢3å„ę˜ÆåœØinfoꖇäšgäø­ę˜ÆåÆé€‰ēš„
dependenciesĀ =Ā module1Ā module2Ā module3
packageĀ =Ā "YourĀ arbitraryĀ groupingĀ string"
versionĀ 
=Ā "$Name$"
åœØęˆ‘ä»¬ēš„ä¾‹å­äø­ļ¼Œž®†äøä½æē”ؘq™äŗ›ä»£ē ć€‚å¦‚ęžœä½ ēš„ęØ”å—ä¾čµ–å…¶ä»–ęØ”å—ļ¼Œåˆ™DrupalåœØä½ ēš„ä¾čµ–ęØ”å—ę²”ęœ‰č¢«‹Č€‹zȝš„ęƒ…å†µäø‹ę˜Æäøå…č®øę怋zȝš„ć€?br />PackageåQšåœØęØ”å—åˆ—č”Ø™åµé¢äø­ēš„ę˜„”¤ŗåˆ†ē»„åQŒå¦‚ęžœčÆ„å€égŲ“½Iŗåˆ™é»˜č®¤äøŗā€œUncategorizedā€ć€?br />VersionåQšé€ščæ‡cvsē›“ęŽ„å¾—åˆ°ēš„ęØ”å—ēš„ē‰ˆęœ¬å?br />评文件ä‹Éē”Øēš„ę˜Æinię ¼å¼åQŒę‰€ä»„评文äšgåÆä»„åŒ…å«;č”Øē¤ŗę³Øé‡ŠåQ?br />; $Id$åˆ™č®©cvsč‡ŖåŠØęŠŠčÆ„ę–‡äšgēš„IDäæ”ęÆč‡ŖåŠØę›æę¢ęŽ?br />å…³äŗŽiniēš„ę ¼å¼ļ¼Œå…·ä½“å‚č§PHP.net parse_ini_file documentation

除了infoꖇäšgåQŒęˆ‘ä»¬čæ˜åÆä»„é€ščæ‡å®žēŽ°helpé’©å­ę„ę·»åŠ é¢å¤–ēš„åø®åŠ©äæ”ęÆć€‚äø½Ž”ę€Žä¹ˆę ųP¼Œęœ€å„½čæ˜ę˜Æå®žēްhelp钩子。onthisdateęØ”å—ēš„help钩子叫做onthisdate_helpåQ?br />
<?php
functionĀ onthisdate_help($section
='')Ā {
}
?>
$section变量åQšę˜ÆčÆ„é”µé¢ēš„¾l“ē‚¹č·Æå¾„ć€‚å®˜ę–ŅŽŽØčļ¼Œęœ€å„½åœØęØ”å—äø­é€ščæ‡swtich casečÆ­å„ę„åˆ¤ę–­ę˜Æå¦ę˜ÆčÆ„ęØ”å—ēš„¾l“ē‚¹č·Æå¾„ć€‚ä½ åÆä»„å‚ē…§å¦‚äø‹ä»£ē åQ?br />
<?php
/**
*Ā ę˜„”¤ŗåø®åŠ©å’ŒęØ”å—äæ”ę?br />*Ā 
@paramĀ å½“å‰åø®åŠ©¾l“ē‚¹ēš„čµ\å¾?ęØ”å—å?br />*Ā @returnĀ ę˜„”¤ŗēš„åø®åŠ©äæ”ę?br />*/
functionĀ onthisdate_help($section
='')Ā {
Ā Ā $outputĀ 
=Ā '';
Ā Ā 
switchĀ ($section)Ā {
Ā Ā Ā Ā 
caseĀ "admin/help#onthisdate":
Ā Ā Ā Ā Ā Ā $outputĀ 
=Ā '<p>'.Ā Ā t("DisplaysĀ linksĀ toĀ nodesĀ createdĀ onĀ thisĀ date").Ā '</p>';
Ā Ā Ā Ā Ā Ā 
break;
Ā Ā }
Ā Ā 
returnĀ $output;
}Ā 
//Ā functionĀ onthisdate_help
?>
ęŠŠčæ™äŗ›ä»£ē å†™åˆ°onthisdate.moduleꖇäšgäø­ļ¼Œäæå­˜åˆ°ē›®å½•sites/all/modules/onthisdate



åŽŸę–‡åQ?br />

InĀ DrupalĀ 5.xĀ theĀ basicĀ informationĀ aboutĀ yourĀ module,Ā itsĀ nameĀ andĀ description,Ā isĀ noĀ longerĀ providedĀ byĀ hook_help.Ā Instead,Ā allĀ modulesĀ nowĀ needĀ toĀ haveĀ aĀ modulename.infoĀ file,Ā containingĀ metaĀ informationĀ aboutĀ theĀ moduleĀ (forĀ detailsĀ seeĀ WritingĀ .infoĀ filesĀ (DrupalĀ 5.x)).Ā ForĀ ourĀ example,Ā "onthisdate.info'.

TheĀ generalĀ formatĀ is:

;Ā $Id$
nameĀ 
=Ā ModuleĀ Name
descriptionĀ 
=Ā "AĀ descriptionĀ ofĀ whatĀ yourĀ moduleĀ does."

WithoutĀ 
thisĀ file,Ā yourĀ moduleĀ willĀ notĀ showĀ upĀ inĀ theĀ moduleĀ listing!.

forĀ ourĀ example,Ā itĀ couldĀ containĀ theĀ following:

;Ā $Id$
nameĀ 
=Ā OnĀ thisĀ date
descriptionĀ 
=Ā "AĀ blockĀ moduleĀ thatĀ listsĀ linksĀ toĀ contentĀ suchĀ asĀ blogĀ entriesĀ orĀ forumĀ discussionsĀ thatĀ wereĀ createdĀ oneĀ weekĀ ago."

AddĀ theĀ sourceĀ aboveĀ toĀ aĀ fileĀ namedĀ toĀ onthisdate.infoĀ beforeĀ savingĀ inĀ yourĀ module
'sĀ directoryĀ atĀ sites/all/modules/onthisdate.

ThereĀ areĀ alsoĀ threeĀ optionalĀ linesĀ thatĀ mayĀ appearĀ inĀ theĀ .infoĀ file:
dependenciesĀ 
=Ā module1Ā module2Ā module3
packageĀ =Ā "YourĀ arbitraryĀ groupingĀ string"
versionĀ 
=Ā "$Name$"

ForĀ ourĀ exampleĀ module,Ā theseĀ don
'tĀ applyĀ andĀ weĀ willĀ simplyĀ omitĀ them.Ā IfĀ youĀ assignĀ dependenciesĀ forĀ yourĀ module,Ā DrupalĀ willĀ notĀ allowĀ itĀ toĀ beĀ activatedĀ untilĀ theĀ requiredĀ dependenciesĀ areĀ met.

IfĀ youĀ assignĀ aĀ 
packageĀ stringĀ forĀ yourĀ module,Ā onĀ theĀ admin/build/modulesĀ pageĀ itĀ willĀ beĀ listedĀ withĀ otherĀ modulesĀ withĀ theĀ sameĀ category.Ā IfĀ youĀ doĀ notĀ assignĀ one,Ā itĀ willĀ simplyĀ beĀ listedĀ asĀ 'Uncategorized'.Ā NotĀ assigningĀ aĀ packageĀ forĀ yourĀ moduleĀ isĀ perfectlyĀ ok;Ā inĀ generalĀ packagesĀ areĀ bestĀ usedĀ forĀ modulesĀ thatĀ areĀ distributedĀ togetherĀ orĀ areĀ meantĀ toĀ beĀ usedĀ together.Ā IfĀ youĀ haveĀ anyĀ doubt,Ā leaveĀ thisĀ fieldĀ blank.

SuggestedĀ examplesĀ ofĀ appropriateĀ itemsĀ 
forĀ theĀ packageĀ field:

Ā Ā Ā Ā 
*Ā Audio
Ā Ā Ā Ā 
*Ā Bot
Ā Ā Ā Ā 
*Ā CCK
Ā Ā Ā Ā 
*Ā Chat
Ā Ā Ā Ā 
*Ā E-Commerce
Ā Ā Ā Ā 
*Ā Event
Ā Ā Ā Ā 
*Ā FeedĀ Parser
Ā Ā Ā Ā 
*Ā OrganicĀ groups
Ā Ā Ā Ā 
*Ā Station
Ā Ā Ā Ā 
*Ā Video
Ā Ā Ā Ā 
*Ā Views
Ā Ā Ā Ā 
*Ā VotingĀ (ifĀ itĀ uses/requiresĀ VotingAPI)Ā 

TheĀ versionĀ lineĀ willĀ provideĀ theĀ versionĀ stringĀ 
forĀ usersĀ gettingĀ theirĀ modulesĀ directlyĀ fromĀ CVSĀ ratherĀ thanĀ usingĀ theĀ tarballĀ packageĀ thatĀ isĀ createdĀ withĀ aĀ release.

TheĀ filesĀ useĀ theĀ iniĀ formatĀ andĀ canĀ includeĀ aĀ ;Ā $Id$Ā toĀ haveĀ CVSĀ insertĀ theĀ fileĀ IDĀ information.

ForĀ moreĀ informationĀ onĀ iniĀ fileĀ formatting,Ā seeĀ theĀ PHP.netĀ parse_ini_fileĀ documentation.

WeĀ canĀ alsoĀ provideĀ helpĀ andĀ additionalĀ informationĀ aboutĀ ourĀ module.Ā BecauseĀ ofĀ theĀ useĀ ofĀ theĀ .infoĀ fileĀ describedĀ above,Ā 
thisĀ hookĀ isĀ nowĀ optional.Ā However,Ā itĀ isĀ aĀ goodĀ ideaĀ toĀ implementĀ it.Ā TheĀ hookĀ nameĀ forĀ thisĀ functionĀ isĀ 'help',Ā soĀ startĀ withĀ theĀ onthisdate_helpĀ function:

<?php
functionĀ onthisdate_help($section
='')Ā {

}
?>

TheĀ $sectionĀ variableĀ providesĀ contextĀ 
forĀ theĀ help:Ā whereĀ inĀ DrupalĀ orĀ theĀ moduleĀ areĀ weĀ lookingĀ forĀ help.Ā TheĀ recommendedĀ wayĀ toĀ processĀ thisĀ variableĀ isĀ withĀ aĀ switchĀ statement.Ā You'llĀ seeĀ thisĀ codeĀ patternĀ inĀ otherĀ modules.

<?php
/**
*Ā DisplayĀ helpĀ andĀ moduleĀ information
*Ā 
@paramĀ sectionĀ whichĀ sectionĀ ofĀ theĀ siteĀ we'reĀ displayingĀ help
*Ā 
@returnĀ helpĀ textĀ forĀ section
*/
functionĀ onthisdate_help($section
='')Ā {

Ā Ā $outputĀ 
=Ā '';

Ā Ā 
switchĀ ($section)Ā {
Ā Ā Ā Ā 
caseĀ "admin/help#onthisdate":
Ā Ā Ā Ā Ā Ā $outputĀ 
=Ā '<p>'.Ā Ā t("DisplaysĀ linksĀ toĀ nodesĀ createdĀ onĀ thisĀ date").Ā '</p>';
Ā Ā Ā Ā Ā Ā 
break;
Ā Ā }

Ā Ā 
returnĀ $output;
}Ā 
//Ā functionĀ onthisdate_help
?>

TheĀ admin
/help#modulenameĀ caseĀ isĀ usedĀ byĀ theĀ DrupalĀ coreĀ toĀ linkedĀ fromĀ theĀ mainĀ helpĀ pageĀ (/admin/helpĀ orĀ ?q=admin/help).Ā YouĀ willĀ eventuallyĀ wantĀ toĀ addĀ moreĀ textĀ toĀ provideĀ aĀ betterĀ helpĀ messageĀ toĀ theĀ user.

MoreĀ informationĀ aboutĀ theĀ helpĀ hook:
DrupalĀ HEAD

AddĀ theĀ sourceĀ aboveĀ toĀ aĀ fileĀ namedĀ toĀ onthisdate.moduleĀ beforeĀ savingĀ inĀ yourĀ DrupalĀ installation.Ā 



]]>
Drupal5.xåˆ›å¾č‡Ŗå®šä¹‰ęØ”å—ęŒ‡å—ļ¼01开å§?Creating modules - a tutorial: Drupal 5.x åQļ¼01. Getting started)http://www.aygfsteel.com/JPeanut/archive/2007/03/26/106555.htmlé™ˆåø‚ę˜?/dc:creator>é™ˆåø‚ę˜?/author>Mon, 26 Mar 2007 15:43:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2007/03/26/106555.htmlhttp://www.aygfsteel.com/JPeanut/comments/106555.htmlhttp://www.aygfsteel.com/JPeanut/archive/2007/03/26/106555.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/106555.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/106555.html[¾˜»čƑ:é™ˆåø‚ę˜?ę‘˜č‡Ŗ:http://drupal.org/node/82926]
Ā Ā  To focus this tutorial, we'll start by creating a block module that lists links to content such as blog entries or forum discussions that were created one week ago.˜q™ä†¾ęŒ‡å—ž®†ę•™ä¼šęˆ‘ä»¬å¦‚ä½•åœØäø€äøŖdrupalēš„ē»“ē‚¹äøŠåˆ›å¾block content,åˆ›å¾é“¾ęŽ„å’Œå›žå¤äæ”ęÆć€?br />Ā Ā  é¦–å…ˆåœØdrupalēš„å®‰č£…čµ\å¾„äø‹åˆ›å¾ē›®å½•sites/all/modules/onthisdateåQˆå‘µå‘?å½“ē„¶å…ˆå¾—åˆ›å¾ē›®å½•sites/all/moduleså“ˆļ¼‰ć€‚åœØē›®å½•sites/all/modules/ onthisdateäø‹åˆ›å»ŽZø€äøŖę–‡ä»Óž¼Œå‘½åäøŗonthisdate.moduleć€‚åœØdrupal 5.xäø­ļ¼Œē›®å½•sites/all/modulesꔄ”½®ēš„ę˜Æäø€äŗ›éžę øåæƒęØ”å—ć€‚čæ™äøŖä‹Éå¾—ä½ åœØå‡¾U§ę øåæƒęØ”å—ēš„ę—¶å€™ę›“åŠ ę–¹ä¾æļ¼Œę— éœ€ę‹…åæƒä½ ä¹‹å‰å®šåˆ¶åŒ–ć€?br />
<?php
/*Ā $Id$Ā */

Ā Ā  åœØęÆäøŖęØ”å—ēš„phpꖇäšgęœ«å°¾åÆä»„ēœåŽ»?>ēš„ę ‡č®ŽĶ¼ŒåŖč¦åœØå¼€å¤“加äø?lt;?php卛_Æć€?Id$åˆ™ę˜Æęœ‰åŠ©CVSēš„ē‰ˆęœ¬ęŽ§åˆ¶ć€‚åœØä½ ęØ”å—äø­åQŒę‰€ęœ‰éœ€č¦č¢«Drupalč°ƒē”Øēš„å‡½ę•°éƒ½åæ…é”»ä»„ā€œ{ęØ”å—å}_{钩子名}ā€å‘½åļ¼Œé’©å­åę˜Ædrupaläø­äø€äŗ›é¢„å®šä¹‰ēš„ę–¹ę³•ēš„å‰ē¼€ć€‚é€ščæ‡˜q™ę ·ēš„å‘½åę–¹å¼ļ¼ŒåÆä»„å¾ˆå®¹ę˜“ēš„č®©Druaplč°ƒē”Øåˆ°čæ™äŗ›ę–¹ę³•ļ¼Œä»Žč€Œå¾—åˆīC½ å®šåˆ¶ēš„ę•°ę®ć€?br />Ā Ā  ˜q™äøŖęØ”å—ē›®å‰˜q˜ę²”˜qč”Œčµäh„åQŒå› äøŗå®ƒ˜q˜ę²”ęœ‰č¢«‹Č€‹z…R€‚åœØåŽé¢ēš„ē« čŠ‚äø­åQŒęˆ‘ä»¬åÆä»„ēœ‹åˆ°å¦‚ä½•ęæ€‹z»čÆ„ęØ”å—ć€?br />



åŽŸę–‡
01.Ā GettingĀ started
DrupalĀ 
5.x

ToĀ focusĀ 
thisĀ tutorial,Ā we'llĀ startĀ byĀ creatingĀ aĀ blockĀ moduleĀ thatĀ listsĀ linksĀ toĀ contentĀ suchĀ asĀ blogĀ entriesĀ orĀ forumĀ discussionsĀ thatĀ wereĀ createdĀ oneĀ weekĀ ago.Ā TheĀ fullĀ tutorialĀ willĀ teachĀ usĀ howĀ toĀ createĀ blockĀ content,Ā writeĀ links,Ā andĀ retrieveĀ informationĀ fromĀ DrupalĀ nodes.

StartĀ yourĀ moduleĀ byĀ creatingĀ aĀ folderĀ inĀ yourĀ DrupalĀ installationĀ atĀ theĀ path:Ā sites
/all/modules/onthisdateĀ YouĀ mayĀ needĀ toĀ createĀ theĀ sites/all/modulesĀ directoryĀ first.Ā CreateĀ aĀ PHPĀ fileĀ andĀ saveĀ itĀ asĀ onthisdate.moduleĀ inĀ theĀ directoryĀ sites/all/modules/onthisdate.Ā AsĀ ofĀ DrupalĀ 5.x,Ā sites/all/modulesĀ isĀ theĀ preferredĀ placeĀ forĀ non-coreĀ modulesĀ (andĀ sites/all/themesĀ forĀ non-coreĀ themes),Ā sinceĀ thisĀ placesĀ allĀ site-specificĀ filesĀ inĀ theĀ sitesĀ directory.Ā ThisĀ allowsĀ youĀ toĀ moreĀ easilyĀ updateĀ theĀ coreĀ filesĀ andĀ modulesĀ withoutĀ erasingĀ yourĀ customizations.

<?php
/*Ā $Id$Ā */

AsĀ perĀ theĀ CodingĀ standards,Ā omitĀ theĀ closingĀ 
?>Ā tagĀ andĀ useĀ theĀ longhandĀ <?phpĀ tag.Ā TheĀ $Id$Ā stringĀ willĀ helpĀ keepĀ trackĀ ofĀ theĀ revisionĀ numberĀ andĀ dateĀ whenĀ youĀ commitĀ theĀ fileĀ toĀ CVS.

AllĀ functionsĀ inĀ yourĀ moduleĀ thatĀ willĀ beĀ usedĀ byĀ DrupalĀ areĀ namedĀ {modulename}_{hook},Ā whereĀ 
"hook"Ā isĀ aĀ pre-definedĀ functionĀ nameĀ suffix.Ā DrupalĀ willĀ callĀ theseĀ functionsĀ toĀ getĀ specificĀ data,Ā soĀ havingĀ theseĀ well-definedĀ namesĀ meansĀ DrupalĀ knowsĀ whereĀ toĀ look.Ā WeĀ willĀ comeĀ toĀ hooksĀ inĀ aĀ while.

TheĀ moduleĀ isĀ notĀ operationalĀ yet:Ā itĀ hasn
'tĀ beenĀ activated.Ā We'llĀ activateĀ theĀ moduleĀ laterĀ inĀ theĀ tutorial.Ā 



]]>
Drupal Object Reference--$node - Node object(Drupal ¾l“点对豔) for drupal 5.1http://www.aygfsteel.com/JPeanut/archive/2007/03/25/106281.htmlé™ˆåø‚ę˜?/dc:creator>é™ˆåø‚ę˜?/author>Sun, 25 Mar 2007 14:34:00 GMThttp://www.aygfsteel.com/JPeanut/archive/2007/03/25/106281.htmlhttp://www.aygfsteel.com/JPeanut/comments/106281.htmlhttp://www.aygfsteel.com/JPeanut/archive/2007/03/25/106281.html#Feedback0http://www.aygfsteel.com/JPeanut/comments/commentRss/106281.htmlhttp://www.aygfsteel.com/JPeanut/services/trackbacks/106281.html [¾˜»čƑ:é™ˆåø‚ę˜?ę‘˜č‡Ŗ:http://drupal.org/node/49768]

Node对豔:
[name] => 创徏¾l“ē‚¹ēš„ē”Øęˆ·å
[date]
=> 创徏¾l“ē‚¹ēš„ę—¶é—?br />[status] => ę˜Æå¦å‘åøƒ{True:å‘åøƒ|False:ęœŖå‘åø?/font> }(在action+workflowäø­åÆä»„åšå®”ę øå¤„ē†)
[moderate] => ę˜Æå¦åÆäæ®ę”¹{0:åŖčÆ»|1:修改}
[promote]
=> ę˜Æå¦å‘åøƒé¦–é”µ{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]=> 对评¾l“ē‚¹ę˜Æå¦å…č®øę·ÕdŠ ,é˜…čÆ»ęˆ–č€…ę˜ÆåÆ¹å…¶č®„”½®ęƒé™
[simple_access]
=> åÆŅŽƒé™ęØ”å—ēš„äø€äø?br />[title] => ꘄ”¤ŗ¾l“点™åµé¢ēš„ę ‡é¢?br />[taxonomy] => åˆ†ē±»(数组,å…·ä½“ęŸ„ēœ‹TaxonomyęØ”å—)
[body] => ¾l“ē‚¹ēš„å†…å®?br />[format] => ½W¦åˆFilteręØ”å—ēš„Content内容
[uid] => 创徏¾l“ē‚¹ēš„ē”Øęˆ·ID
[created] => 创徏¾l“ē‚¹ēš„Unix¾cÕdž‹ēš„ę—¶é—“戳
[type] => ¾l“点¾cÕdž‹(å¦?book,page,forum,å…·ä½“ęŸ„ēœ‹cckęØ”å—)
[teaser] => 内容概要
[validated] => 评结ē‚ŅŽ˜Æå¦ęœ‰ę•ˆ{0:否|1:是}(ę˜Æå¦å·²ē»äæå­˜)
[changed] =>
修改¾l“ē‚¹ēš„Unix¾cÕdž‹ēš„ę—¶é—“戳
[nid] => ¾l“点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



]]>
Jython™å¹ē›®åQˆThe Jython ProjectåQ?/title><link>http://www.aygfsteel.com/JPeanut/archive/2007/02/27/101036.html</link><dc:creator>é™ˆåø‚ę˜?/dc:creator><author>é™ˆåø‚ę˜?/author><pubDate>Tue, 27 Feb 2007 15:34:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPeanut/archive/2007/02/27/101036.html</guid><wfw:comment>http://www.aygfsteel.com/JPeanut/comments/101036.html</wfw:comment><comments>http://www.aygfsteel.com/JPeanut/archive/2007/02/27/101036.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPeanut/comments/commentRss/101036.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPeanut/services/trackbacks/101036.html</trackback:ping><description><![CDATA[ <span style="font-weight: bold;"> <font size="2">[¾˜»čƑ:é™ˆåø‚ę˜?ę‘˜č‡Ŗ:http://www.jython.org]</font> <br /> <br />Jython™å¹ē›®</span> <span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·+V|t DW3]</span> <br />Ā  Jythonę˜Æē”Ø¾UÆjavaå®žēŽ°ēš„åŠØę€é¢å‘åÆ¹č±”ēš„é«˜ēń”语言åQŒå„¹ę— ē¼ēš„ē»“åˆäŗ†java和pythonäø¤ē§čÆ­čØ€ć€‚ē”Øęˆ·åÆä»„åœØä»ÖM½•java虚ꋟꜮZøŠä½æē”Øpythonć€?br /><span style="display: none;">HT3L)q&~z'v#c:J2</span>Ā  ęœ€ę–°ę¶ˆęÆļ¼šē›®å‰å‘åøƒēš„ęœ€ę–°Releaseē‰ˆęœ¬ę˜ÆJython 2.2 Beta<br /><span style="display: none;">HD3|8F'l2hw2</span><span style="font-weight: bold;">ä»€ä¹ˆę˜ÆJython</span><span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·Z0dåK½~@5n[_</span><br />Ā  Jythonę˜ÆåŠØę€é¢å‘åÆ¹č±”ēš„é«˜ēń”语言åQŒåÆä»„ꗠ¾~é›†ęˆåˆ°javaņq›_°äøŠć€‚äø½Ž”ä½ ę˜Æå•†äøščæ˜ę˜Æéžå•†äøšēš„ļ¼Œéƒ½åÆä»„å…č“¹ēš„ä½æē”ØJythonåQŒä¹ŸåÆä»„å’Œä½ ēš„ęŗē äø€čµ·å‘åøƒć€‚JythonåÆä»„å¼„č”„javaēš„ęŸäŗ›ē¼ŗē‚¹ē‰¹åˆ«ę˜ÆåœØäø€äø‹å‡ äøŖę–¹é¢ļ¼š<br /><span style="display: none;">(N%n?r:a E;i.^;WS{2</span>Ā Ā  * åµŒå…„å¼ę•™ęœ?åQ?Java开发ähå‘˜åœØä»–ä»¬ēš„ē³»¾lŸäø­ę·ÕdŠ Jythonēš„ē±»åŗ“åŽåQŒåÆä»„å…č®øęœ€¾lˆē”Øęˆ·åœØä»–ä»¬ēš„ē³»¾lŸäø­¾~–å†™å„ē§č„šęœ¬<br /><span style="display: none;"> _.y'\,Z%{!J'h2</span>Ā Ā  * äŗ¤äŗ’å¼ęµ‹čÆ?åQ?JythonåÆä»„ęä¾›å…č®øå’Œjavaäŗ¤äŗ’ēš„ęŽ„å£ļ¼Œę–¹ä¾æå¼€å‘ähå‘˜åœØjava¾pȝ»Ÿäø­ęœ‰ę•ˆč°ƒčÆ?span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·Z @6|z$lr M</span><br />Ā Ā  * åæ«é€Ÿå¼€å?åQ?åŒę ·ēš„åŠŸčƒ½ļ¼Œjavaēš„ä»£ē é‡ę˜Æpythonēš?åˆ?0倍左叻I¼Œpythonēš„å¼€å‘ę•ˆēŽ‡čæœ˜qœęÆ”é«˜äŗŽjavaēš„å¼€å‘ć€‚python和javaēš„ę— ¾~ēš„äŗ¤äŗ’ę˜Æēš„åæ«å‘ēˆ±å‘äŗŗå‘˜åÆä»„å…č“¹ēš„åŒę—¶ä‹É用两æUčÆ­­a€˜q›č”Œå¼€å‘ć€?br /><span style="display: none;">z y#t~H$}6FF*d2</span>Ā  ęœ‰č®øå¤šč„šęœ¬čÆ­­a€åÆä»„在java虚ꋟꜮZø­˜qč”ŒåQŒä½†ę˜Æjythonē›øęÆ”č¾ƒļ¼Œęœ‰ä»„äø‹ä¼˜åŠæļ¼š<br /><span style="display: none;">5G/QcwOd%y2</span>Ā Ā  * åŠØę€ē¼–čÆ‘ęˆjavaå­—čŠ‚ē ?<br /><span style="display: none;">P8G9f k'O-ac2</span>Ā Ā  * é€ščæ‡jythonåÆä»„ē›“ęŽ„č°ƒē”ØēŽ°ęœ‰ēš„java¾c?span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·4L1J#D]f$n'OC</span><br />Ā Ā  * Bean Properties<span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ· p4u/{*_s(|6H</span><br />Ā Ā  * python语法<br /><span style="display: none;">&cCåK½Q;[6yh P2</span><br /><span style="display: none;">Q!y9?.z$?FS2</span><br /><span style="display: none;">"]L U+?d9?!I2</span><br /><span style="display: none;">a^ vyH a9R:gS6B3u2</span><span style="display: none;"><span style="font-weight: bold;">The Jython Project</span><br /><span style="display: none;">6Bf0xmåK½s/S~*V vz[2</span><span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·pKA#n;N;S#S P;j%f</span><br />Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.<span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·YS,LP7K#~!@</span><br /><span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·*{$x i`Q9o</span><br />Latest News<br /><span style="display: none;">TK*i_8dK9LV2</span><br /><span style="display: none;">'IL"Dg-J8T2</span>The Jython development team is proud to announce a new release: Jython 2.2 Beta1!<span style="display: none;">SupeSite/X-Space½C‘ÖŒŗé—Øęˆ·eKW/M YQ</span><br /><br /><span style="display: none;">m/L&K5B</span>upeSite/X-Space½C‘ÖŒŗé—Øęˆ·eKW/M YQ</span><br /><b>The Jython Project</b><br /><br />Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.<br /><br />Latest News<br /><br />The Jython development team is proud to announce a new release: Jython 2.2 Beta1!<br /><br />Ā Ā Ā  * Download it,<br />Ā Ā Ā  * install it,<br />Ā Ā Ā  * then kick the tires and start filing bug reports to help get 2.2 polished up and done, so we can get going on the next Jython 2.x.<br /><br /><b>What is Jython?</b><br /><br />Ā Ā Ā  Jython, lest you do not know of it, is the most compelling weapon the Java platform has for its survival into the 21st century:-)<br /><br />Ā Ā Ā  —Sean McGrath, CTO, Propylon<br /><br />Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and non-commercial use and is distributed with source code. Jython is complementary to Java and is especially suited for the following tasks:<br /><br />Ā Ā Ā  * Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the application.<br />Ā Ā Ā  * Interactive experimentation - Jython provides an interactive interpreter that can be used to interact with Java packages or with running Java applications. This allows programmers to experiment and debug any Java system using Jython.<br />Ā Ā Ā  * Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.<br /><br />There are numerous alternative languages implemented for the Java VM. The following features help to separate Jython from the rest:<br /><br />Ā Ā Ā  * Dynamic compilation to Java bytecodes - leads to highest possible performance without sacrificing interactivity.<br />Ā Ā Ā  * Ability to extend existing Java classes in Jython - allows effective use of abstract classes.<br />Ā Ā Ā  * Optional static compilation - allows creation of applets, servlets, beans, ...<br />Ā Ā Ā  * Bean Properties - make use of Java packages much easier.<br />Ā Ā Ā  * Python Language - combines remarkable power with very clear syntax. It also supports a full object-oriented programming model which makes it a natural fit for Java's OO design.<br /><br /><span style="display: none;">m/L&K5B</span><br /><span style="display: none;">m/L&K5B</span><img src ="http://www.aygfsteel.com/JPeanut/aggbug/101036.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPeanut/" target="_blank">é™ˆåø‚ę˜?/a> 2007-02-27 23:34 <a href="http://www.aygfsteel.com/JPeanut/archive/2007/02/27/101036.html#Feedback" target="_blank" style="text-decoration:none;">å‘č”ØčÆ„č®ŗ</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> Ö÷Õ¾Ö©Öė³ŲÄ£°å£ŗ <a href="http://" target="_blank">ŠĀÖńĻŲ</a>| <a href="http://" target="_blank">³Ā°Ķ¶ū»¢Ęģ</a>| <a href="http://" target="_blank">ŌĄŃōĻŲ</a>| <a href="http://" target="_blank">ø¢ĮźĒų</a>| <a href="http://" target="_blank">ÓÜÉēĻŲ</a>| <a href="http://" target="_blank">ƽ¶ČŹŠ</a>| <a href="http://" target="_blank">³Ī½­ĻŲ</a>| <a href="http://" target="_blank">įŖÉ½ĻŲ</a>| <a href="http://" target="_blank">ŗīĀķŹŠ</a>| <a href="http://" target="_blank">Ģ«±£ŹŠ</a>| <a href="http://" target="_blank">ĀåŌśĻŲ</a>| <a href="http://" target="_blank">ĖÉŃōĻŲ</a>| <a href="http://" target="_blank">ƽŃōĻŲ</a>| <a href="http://" target="_blank">·öÓąĻŲ</a>| <a href="http://" target="_blank">øßĢĘĻŲ</a>| <a href="http://" target="_blank">ŠĀƽ</a>| <a href="http://" target="_blank">ĶņɽĢŲĒų</a>| <a href="http://" target="_blank">ĮÉŃōĻŲ</a>| <a href="http://" target="_blank">»ŖÄžĻŲ</a>| <a href="http://" target="_blank">ŠĀĄÖŹŠ</a>| <a href="http://" target="_blank">ÕżŃōĻŲ</a>| <a href="http://" target="_blank">ƽ¹ČĒų</a>| <a href="http://" target="_blank">ĮŁå¢ĻŲ</a>| <a href="http://" target="_blank">ÄžŻõ</a>| <a href="http://" target="_blank">³¤ŠĖĻŲ</a>| <a href="http://" target="_blank">Ā»·įĻŲ</a>| <a href="http://" target="_blank">ÓĄŹŁĻŲ</a>| <a href="http://" target="_blank">ƽ¹ČĒų</a>| <a href="http://" target="_blank">Įčŗ£ŹŠ</a>| <a href="http://" target="_blank">ÕÅ¼ŅæŚŹŠ</a>| <a href="http://" target="_blank">æŖ·āĻŲ</a>| <a href="http://" target="_blank">Āé³ĒŹŠ</a>| <a href="http://" target="_blank">ø£ÖŻŹŠ</a>| <a href="http://" target="_blank">¼Ŗ°²ĻŲ</a>| <a href="http://" target="_blank">»ØŌ«ĻŲ</a>| <a href="http://" target="_blank">ÄĒĘĀĻŲ</a>| <a href="http://" target="_blank">»ŖČŻĻŲ</a>| <a href="http://" target="_blank">³¤ĄÖŹŠ</a>| <a href="http://" target="_blank">³ÆŃōĒų</a>| <a href="http://" target="_blank">µĀ²żĻŲ</a>| <a href="http://" target="_blank">å§ŃōĻŲ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>