====== OO extension skeleton ====== === Creating links === classname::method or classname->method Note: Using instead of works too. Note: classname does not link, but should soon. === File structure ==== Same as on http://doc.php.net/wiki/skeletons with the exception of reference.xml (and all the &reference.extname.reference; entities), if the extension does not define any regular functions, which is replaced by classname.xml where "classname" is the lowercase name of the class (one file per class). == classname.xml == The ClassName class ClassName
&reftitle.intro; Description of the class.
Class synopsis ClassName ClassName extends BaseClassName InterfaceName Properties public string name Methods Inherited methods
&reftitle.properties; name Prop description
&reference.extname.classname.entities;
== classname/methodname.xml == The only difference here (compared to the usual function skeletons) is the xml:id attribute, the refname & methodname elements - and the possibility to document a property. Note: If this method/property has an alternate procedural mapping the procedural synopsis MUST be listed AFTER the method synopsis. ClassName::methodName The methodName purpose &reftitle.description; thereturned typeClassName::methodName param1typefirstparameter intsecondparameter className stringname The method description goes here. ....