Re: Re: Class info thru PHPDoc
| From: | bertrand Gugger | Date: | Wed, 22 Dec 2004 02:44:06 +0000 |
| Subject: | Re: Re: Class info thru PHPDoc | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35219@lists.php.net to get a copy of this message | ||
Hi Greg Beaver, you wrote:
bertrand Gugger wrote:Bonsoir Greg, Thanks for your summarized (& quick) answer, it's really a jiffy in customizing PhpDocumentor. Thanks also to Sveta for root]# phpdoc -c makedocs ... what refer endly to ...pear/data/PhpDocumentor/user/makedocs.ini This autodoc is lovely and rich. (not only poor can be loved) Then, I understand my aim is more complicated. I want to produce some whole technical sight starting from a ground package. Obviously output as XML (Documentor's HTML is XhtML) But without any formating, some more raw representation of low level Documentor's analyses. That should be more some Convert_XML_Schema, I will try to get a schema of the Documentor's production, try to translate in XML-Schema get the stuff from Documentor. Not whole, but possibly. 2 cents each 3 seconds ? (it is a joke) Bye -- bertrand Gugger (toggg) > . Why?Hi Greg, How get simple XML info about classes, methods & properties defined from a script ?Conversion is done in Convert*() methods, as in ConvertMethod(), ConvertFile(), ConvertClass(), etc. All you need to do is take the existing HTMLframesConverter class and drop all the smarty code. Then, instead of using a template, simply open an output file in ConvertFile (this might be ConvertProceduralPage()), and then output the xml that you would like in there. The plan for 2.0 was to support this, but it is tricky