ZenMagick API
From ZenMagick Wiki
About
The documentation of the ZenMagick API is done using the excellent PHPDoctor.
In short, the way it works is that PHPDoctor will analyze all .php files and search for (specially formated) comments. Those are used to build the API references.
Where is it?
http://www.zenmagick.org/apidocs
Finding Things
All code is organized into packages. Ideally, those packages will contain functions, constants and classes that are somehow related.
All packages use the common prefix org.zenmagick
There is a simple custom PHP script that allows to jump to individual classes or packages by adding a class or package parameter to the URL. Furthermore, URL rewriting is enabled to make URLs look nicer and easier to write.
Some examples:
- http://www.zenmagick.org/apidocs/class/ZMRuntime
- http://www.zenmagick.org/apidocs/index.php?class=ZMRuntime
- http://www.zenmagick.org/apidocs/package/org.zenmagick.service
This syntax is not only useful to find things, but also makes linking to specific classes or packages easy.

