diff --git a/.gitignore b/.gitignore index 81e93668..26fc326b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ .project .settings /output - +docs/ +xml/ +phpdox.php diff --git a/docs/style/media.css b/docs/style/media.css new file mode 100644 index 00000000..14e4857e --- /dev/null +++ b/docs/style/media.css @@ -0,0 +1,138 @@ +@CHARSET "UTF-8"; + +html { + font-family: Helvetica; +} + +h1, h2, h3 { + border-bottom: 1px solid black; +} + +.classNamespace { + +} + +.classNamespaceName:before{ + content: "namespace " +} + +.classNamespaceName{ + +} + +.className{ + +} + +.classConstants{ + +} + +.classConstantList{ + list-style-type: none; +} + + +.classConstantItem:before { + content: "const "; + font-weight: bold; + font-family: monospace; +} + +.classConstantItem{ + +} + +.classMembers{ + +} + +.classMemberList{ + list-style-type: none; +} + +.classMemberItem{ + +} + +.classMethods{ + +} + +.classMethod{ + +} + +.classMethodName{ + display:inline; +} + +.classMethodList{ + list-style-type: none; +} + +.classMethodItem{ + margin-bottom: 25px; + margin-top: 20px; +} + +.classMethodParameters{ + +} + +.classMethodParameter{ + +} + +.classMethodParameterList{ + list-style-type: none; +} + +.classDocBlock{ + margin-left: 25px; +} + +.prefixes{ + display:inline; + font-family: monospace; +} + +.author:before{ + content: "by "; +} + +.author{ + margin-top: 5px; + +} + +.copyright:before{ + content: "Ⓒ "; +} + +.copyright{ + +} + +.description{ + background-color: #EEEEEE; + margin-top: 15px; + padding: 10px; +} + +.shortDescription{ + margin-bottom: 25px; +} + +.longDescription{ + +} + +.inheritance { + margin-top:-20px; +} + +.typeHint{ + display:inline; + font-family: monospace; +} \ No newline at end of file diff --git a/phpdox.php b/phpdox.php index 9c046f9f..bdc40ae8 100755 --- a/phpdox.php +++ b/phpdox.php @@ -43,9 +43,9 @@ */ require __DIR__ . '/../DirectoryScanner/autoload.php'; -require __DIR__ . '/../fDomDocument/autoload.php'; +require __DIR__ . '/../fDOMDocument/autoload.php'; require __DIR__ . '/../fXSL/autoload.php'; -require __DIR__ . '/../ezc/current/Base/src/base.php'; +require 'ezc/Base/base.php'; require __DIR__ . '/../staticReflection/src/main/php/pdepend/reflection/Autoloader.php'; require __DIR__ . '/../docblock/DocBlock.php'; require __DIR__ . '/autoload.php'; diff --git a/src/backend/htmlBuilder/class.xsl b/src/backend/htmlBuilder/class.xsl index 1bb2669d..3dc611eb 100644 --- a/src/backend/htmlBuilder/class.xsl +++ b/src/backend/htmlBuilder/class.xsl @@ -1,18 +1,237 @@ + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:file="http://phpdox.de/xml#" + exclude-result-prefixes="#default file" + > + + + + + + + + + + + + + + + +
+

+
+
+ + +

+ +

+ + + + + +
+ + +
+

extending

+ +
+
- + +
  • + + = + +
  • +
    - - - - - - - - + +
    + +
    + +
    +
    + + + + + + +
    +
    + + +
  • +

    + + + +

    + Constructor + +
  • +
    + + +
  • +

    + + +

    + + + = + + +
  • +
    + + +
  • +

    + + + + +

    +

    + +

    + + + + +
  • +
    + + +
  • + + + + + +
  • +
    + + + + + +
    +

    Constants

    +
      + +
    +
    +
    +
    + + + +
    +

    Members

    +
      + +
    +
    +
    +
    + + + +
    +

    Methods

    +
      + + +
    +
    +
    + +
    + +
    + +
    +
    + +
    + +
    +
    +
    +
    + + +
    +
      + +
    +
    +
    + + + +

    + +

    + +
    + +

    array

    + +
    + +

    mixed

    + +
    +
    + + + + = + + + + + + + & + + + + + + final + + + + + + + + + + + static + + + + + + abstract + +