default

# Class: PHPClass Source Location: /mikebevz/xsd2php/PHPClass.php
### Class Overview
    Common
       |
       --PHPClass
PHP Class representation #### Author(s): Mike Bevz <myb@mikebevz.com> #### Version: 0.0.1 | ### Variables $classDocBlock $classProperties $debug $extends $extendsNamespace $name $namespace $properties $type $typeNamespace | ### Methods getClassProperties getDocBlock getPhpCode
### Inherited Variables #### Class: Common Common::$basicTypes Common::$dom Common::$lastNsKey Common::$namespaces Common::$phpTypes Common::$reservedWords | ### Inherited Methods #### Class: Common Common::getDocNamespaces() Common::getNsCode() Common::isQName() Common::normalizeType() Convert XMLSchema data type to PHP data type Common::parseDocComments() Parse Doc comments Common::parseParamDocs() Common::parseQName() Common::parseReturnDocs() Common::phpTypeToSoap() Common::resolveNamespace() Resolve short namespace to long, or return the same code if not found Common::urnToPhpName()
### Class Details [line 28] PHP Class representation #### Tags:
author: | Mike Bevz <myb@mikebevz.com>
version: | 0.0.1
[ Top ] ### Class Variables #### $classDocBlock = [line 41] Array of class level documentation #### Tags:
access: | public
Type: | array
[ Top ] #### $classProperties = [line 67] Class properties #### Tags:
access: | public
Type: | array
[ Top ] #### $debug = false [line 91] Show debug info #### Tags:
access: | public
Type: | boolean
Overrides: | Array
[ Top ] #### $extends = [line 73] Class to extend #### Tags:
access: | public
Type: | string
[ Top ] #### $extendsNamespace = [line 79] Namespace of parent class #### Tags:
access: | public
Type: | string
[ Top ] #### $name = [line 34] Class name #### Tags:
var: | name
access: | public
Type: | class
[ Top ] #### $namespace = [line 54] Class namespace #### Tags:
access: | public
Type: | string
[ Top ] #### $properties = [line 85] Array of class properties array(array('name'=>'propertyName', 'docs' => array('property'=>'value'))) #### Tags:
access: | public
Type: | array
[ Top ] #### $type = [line 48] Class type #### Tags:
access: | public
Type: | string
[ Top ] #### $typeNamespace = [line 60] Class type namespace #### Tags:
access: | public
Type: | string
[ Top ] ### Class Methods ### method getClassProperties [line 141]
`string getClassProperties( array $props, [array $indent = "\t"])`
Return class properties from array with indent specified #### Tags:
access: | public
#### Parameters:
array | $props | Properties array
array | $indent | Indentation in tabs
[ Top ] ### method getDocBlock [line 161]
`void getDocBlock( array $docs, [string $indent = ""])`
Return docBlock #### Tags:
access: | public
#### Parameters:
array | $docs | Array of docs
string | $indent | Indentation return string
[ Top ] ### method getPhpCode [line 97]
`array getPhpCode( )`
Returns array of PHP classes #### Tags:
access: | public
[ Top ] Documentation generated on Tue, 01 Feb 2011 22:29:29 +0100 by phpDocumentor 1.4.3