*ÃuÁiÐнʽ£º
*¡¡¡¡ÔÚphpDocumentorËuÔÚĿ¼Ï£¬ÊaÈephpdoc ¨Ch»aµÃµ½Ò»¸oÏeϸµÄ²ÎÊý±i£¬ÆaÖм¸¸oÖØÒªµÄ²ÎÊýÈçÏ£º
-f Òª½øÐÐÖÎoµÄÎļþÃu£¬¶a¸oÎļþÓöººÅ¸o¿ª
-d ÒªÖÎoµÄĿ¼£¬¶a¸oĿ¼ÓöººÅÖ¸i
-t Éu³ÉµÄÎĵµµÄ´aež¶
-o Êa³oµÄÎĵµ¸ñʽ£¬½a¹¹ÎªÊa³o¸ñʽ£º×ª»»Æ÷Ãu£ºÄ£°aĿ¼¡£
¡¡ ÀýÈ磺phpdoc -o HTML:frames:earthli -f test.php -t docs
Web½çÃaeÉu³É
¡¡¡¡ÔÚеÄphpdocÖУ¬³ýÁËÔÚÃuÁiÐÐÏÂÉu³ÉÎĵµÍa£¬»¹¿ÉÒÔÔÚ¿Í»§¶Ëa¯ÀÀÆ÷ÉϲÙ×÷Éu³ÉÎĵµ£¬¾ßÌa½¨ÊÇÏÈ°ÑPhpDocumentorµÄÄÚÈÝÅÔÚapacheĿ¼ÏÂʹµÃͨ¹ýa¯ÀÀÆ÷¿ÉÒÔÃÎʵ½£¬ÃÎʺoÏÔʾÈçϵĽçÃae£º
¡¡¡¡µa»÷files°´Å¥£¬Ñ¡ÔñÒª´¦ÀiµÄphpÎļþ»oÎļþ¼Ð£¬»¹¿ÉÒÔͨ¹ý¸ÃÖ¸¶¨¸Ã½çÃaeϵÄFiles to ignoreÀ´ºoÂÔ¶ÔijÐ(C)ÎļþµÄ´¦Ài¡£
¡¡¡¡È»ºoµa»÷output°´Å¥À´Ñ¡ÔñÉu³ÉÎĵµµÄ´aež¶ºÍ¸ñʽ.
¡¡¡¡×iºoµa»÷create£¬phpdocumentor¾Í»a×Ô¶¯¿ªÊ¼Éu³ÉÎĵµÁË£¬×iϽ»aÏÔʾÉu³ÉµÄ½ø¶È¼°×´Ì¬£¬Èç¹u³É¹¦£¬»aÏÔʾ
Total Documentation Time: 1 seconds
done
Operation Completed!!
È»ºo£¬ÎÒÃǾͿÉÒÔͨ¹ý²e¿´Éu³ÉµÄÎĵµÁË£¬Èç¹uÊÇpdf¸ñʽµÄ£¬Ãu×ÖĬÈÏΪdocumentation.pdf¡£
¸øphp´uÂeÌi¼Ó¹ae*¶µÄ×¢ÊÍ
PHPDocumentÊÇ´ÓÄaµÄÔ´´uÂeµÄ×¢ÊÍÖÐÉu³ÉÎĵµ£¬Òo´ËÔÚ¸øÄaµÄ³ÌÐo×o×¢Ê͵Ĺý³Ì£¬Ò²¾ÍÊÇÄa±aÖÆÎĵµµÄ¹ý³Ì¡£
¡¡¡¡´ÓÕaÒ»µaÉϽ²£¬PHPdoc´ÙʹÄaÒªÑø³ÉÁ¼ºÃµÄ±a³ÌÏ°¹ß£¬¾¡Á¿Ê¹Óùae¶£¬ÇaÎuÎÄ×ÖΪÄaµÄ³ÌÐo×o×¢ÊÍ£¬Í¬Ê±¶a¶aÉÙÉÙÒ²±ÜÃaÁËʺo±aÖÆÎĵµºÍÎĵµµÄ¸uв»Í¬²½µÄÒ»Ð(C)ÎÊÌa¡£
¡¡¡¡ÔÚphpdocumentorÖУ¬×¢ÊÍÖΪÎĵµÐÔ×¢ÊͺÍÇÎĵµÐÔ×¢ÊÍ¡£
¡¡¡¡ËuνÎĵµÐÔ×¢ÊÍ£¬ÊÇÄÇÐ(C)ÅÔÚÌض¨¹Ø¼u×ÖÇ°ÃaeµÄ¶aÐÐ×¢ÊÍ£¬Ìض¨¹Ø¼u×ÖÊÇÖ¸Äܹ»±»phpdocÖÎoµÄ¹Ø¼u×Ö£¬ÀýÈçclass£¬varµÈ£¬¾ßÌaµÄ¿É²Î¼Ó¸½Â¼1.
¡¡¡¡ÄÇÐ(C)ûÓÐÔڹؼu×ÖÇ°Ãae»oÕß²»¹ae¶µÄ×¢Ê;ͳÆ×÷ÇÎĵµÐÔ×¢ÊÍ£¬ÕaÐ(C)×¢Êͽ«²»»a±»phpdocËuÖÎo£¬Ò²²»»a³oÏÖÔÚÄa²uÉuµÄapiÎĵ±ÖС£
ÈçºÎÊeдÎĵµÐÔ×¢ÊÍ:
¡¡¡¡ËuÓеÄÎĵµÐÔ×¢ÊͶ¼ÊÇÓÉ/*¿ªÊ¼µÄÒ»¸o¶aÐÐ×¢ÊÍ£¬ÔÚphpDocumentorÀi³ÆΪDocBlock, DocBlockÊÇÖ¸Èi¼þ¿ª¢ÈËÔ±±aдµÄ¹ØÓÚij¸o¹Ø¼u×ֵİiÖuÐÅÏ¢£¬Ê¹µÃÆaËuÈËÄܹ»Í¨¹ýËuÖªµÀÕa¸o¹Ø¼u×ֵľßÌaÓÃ;£¬ÈçºÎʹÓá£PhpDocumentor¹ae¶¨Ò»¸oDocBlock°uº¬ÈçÏÂÐÅÏ¢£º
1. ¹¦ÄܼoÊoÇø
2. Ïeϸ˵Ã÷Çø
3. ±e¼Çtag
¡¡¡¡ÎĵµÐÔ×¢Ê͵ĵÚÒ»ÐÐÊǹ¦ÄÜÃeÊoÇø£¬ÕýÎÄÒ»°aÊǼoÃ÷¶oÒªµØ˵Ã÷Õa¸oÀa£¬½¨»oÕߺ¯ÊýµÄ¹¦ÄÜ£¬¹¦ÄܼoÊoµÄÕýÎÄÔÚÉu³ÉµÄÎĵµÖн«ÏÔʾÔÚË÷ÒýÇø¡£¹¦ÄÜÃeÊoÇøµÄÄÚÈÝ¿ÉÒÔͨ¹ýÒ»¸o¿ÕÐлoÕß . À´½aÊø
¡¡¡¡
ÔÚ¹¦ÄÜÃeÊoÇøºoÊÇÒ»¸o¿ÕÐУ¬½Ó×ÅÊÇÏeϸ˵Ã÷Çø,. Õa²¿ÖÖ÷ÒªÊÇÏeϸ˵Ã÷ÄaµÄAPIµÄ¹¦ÄÜ£¬ÓÃ;£¬Èç¹u¿ÉÄÜ£¬Ò²¿ÉÒÔÓÐÓè¾ÙÀýµÈµÈ¡£ÔÚÕa²¿Ö£¬ÄaÓ¦¸Ã×ÅÖزuÃ÷ÄaµÄAPIº¯Êý»oÕß½¨µÄͨ³£µÄÓÃ;£¬Ó裬²¢ÇÒÖ¸Ã÷ÊÇñÊÇ¿çƽ̨µÄ£¨Èç¹uÉae¼°µ½£(C)£¬¶ÔÓÚºÍƽ̨Ïa¹ØµÄÐÅÏ¢£¬ÄaÒªºÍÄÇÐ(C)ͨÓõÄÐÅÏ¢Çø±ð¶Ô´ý£¬Í¨³£µÄ×o¨ÊÇÁiÆðÒ»ÐУ¬È»ºoд³oÔÚij¸oÌض¨Æ½Ì¨ÉϵÄ×¢ÒaÊÂÏi»oÕßÊÇÌرðµÄÐÅÏ¢£¬ÕaÐ(C)ÐÅÏ¢Ó¦¸Ã×a¹»£¬ÒÔ±aÄaµÄ¶ÁÕßÄܹ»±aдÏaÓ¦µÄ²aÊÔÐÅÏ¢£¬±ÈÈç±ß½çÌo¼þ£¬²ÎÊý¶Î§£¬¶ÏµaµÈµÈ¡£
¡¡¡¡
Ö®ºoͬÑuÊÇÒ»¸o¿Õ°×ÐУ¬È»ºoÊÇÎĵµµÄ±e¼Çtag£¬Ö¸Ã÷Ò»Ð(C)¼¼ÊoÉϵÄÐÅÏ¢£¬Ö÷ÒªÊÇ×iÖ÷ÒªµÄÊǵ÷ÓòÎÊýÀaÐÍ£¬µ»ØÖµ¼«ÆaÀaÐÍ£¬¼Ì³Ð¹Øϵ£¬Ïa¹Ø½¨/º¯ÊýµÈµÈ¡£
Îĵµ×¢ÊÍÖл¹¿ÉÒÔʹÓÃÀýÈç ÕaÑuµÄ±eÇ(C)£¬Ïeϸ½eÉÜÇe²Î¿¼¸½Â¼¶þ¡£
Ò»¸oÎĵµ×¢Ê͵ÄÀý×Ó
/**
*Ò»Ð(C)×¢Ê͹ae¶
a.×¢ÊͱØÐeÊÇ
/
×ܽa
phpDocumentorÊÇÒ»¸odz£Ç¿´oµÄÎĵµ×Ô¶¯Éu³É¹¤¾ß£¬ÀuÓÃËu¿ÉÒÔ°iÖuÎÒÃDZaд¹ae¶µÄ×¢ÊÍ£¬Éu³ÉÒ×ÓÚÀi½a£¬½a¹¹ÇaÎuµÄÎĵµ£¬¶ÔÎÒÃǵĴuÂeÉý¼¶£¬Î¬»¤,Òƽ»µÈ¶¼ÓÐdz£´oµÄ°iÖu¡£
¹ØÓÚphpDocumentor¸uΪÏeϸµÄ˵Ã÷£¬¿ÉÒÔµ½ËuµÄ¹Ù½ÍøÕ¾
Á½¸oÀý×Ó£º
ʵÀýÒ»
ʵÀý¶þ
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8