PHP 클래스 PHPDocMD\Parser

저자: Evert Pot (http://www.rooftopsolutions.nl/)
파일 보기 프로젝트 열기: evert/phpdoc-md

보호된 프로퍼티들

프로퍼티 타입 설명
$classDefinitions array The list of classes and interfaces.
$structureXmlFile string Path to the structure.xml file.

공개 메소드들

메소드 설명
__construct ( string $structureXmlFile )
run ( ) Starts the process.

보호된 메소드들

메소드 설명
expandMethods ( string $className ) : array This method goes through all the class definitions, and adds non-overridden method information from parent classes.
expandProperties ( string $className ) : array This method goes through all the class definitions, and adds non-overridden property information from parent classes.
getClassDefinitions ( SimpleXmlElement $xml ) Gets all classes and interfaces from the file and puts them in an easy to use array.
parseConstants ( SimpleXMLElement $class ) : array Parses all constant information for a single class or interface.
parseMethods ( SimpleXMLElement $class ) : array Parses all the method information for a single class or interface.
parseProperties ( SimpleXMLElement $class ) : array Parses all property information for a single class or interface.

메소드 상세

__construct() 공개 메소드

public __construct ( string $structureXmlFile )
$structureXmlFile string

expandMethods() 보호된 메소드

This method goes through all the class definitions, and adds non-overridden method information from parent classes.
protected expandMethods ( string $className ) : array
$className string
리턴 array

expandProperties() 보호된 메소드

This method goes through all the class definitions, and adds non-overridden property information from parent classes.
protected expandProperties ( string $className ) : array
$className string
리턴 array

getClassDefinitions() 보호된 메소드

Gets all classes and interfaces from the file and puts them in an easy to use array.
protected getClassDefinitions ( SimpleXmlElement $xml )
$xml SimpleXmlElement

parseConstants() 보호된 메소드

You must pass an xml element that refers to either the class or interface element from structure.xml.
protected parseConstants ( SimpleXMLElement $class ) : array
$class SimpleXMLElement
리턴 array

parseMethods() 보호된 메소드

You must pass an xml element that refers to either the class or interface element from structure.xml.
protected parseMethods ( SimpleXMLElement $class ) : array
$class SimpleXMLElement
리턴 array

parseProperties() 보호된 메소드

You must pass an xml element that refers to either the class or interface element from structure.xml.
protected parseProperties ( SimpleXMLElement $class ) : array
$class SimpleXMLElement
리턴 array

run() 공개 메소드

Starts the process.
public run ( )

프로퍼티 상세

$classDefinitions 보호되어 있는 프로퍼티

The list of classes and interfaces.
protected array $classDefinitions
리턴 array

$structureXmlFile 보호되어 있는 프로퍼티

Path to the structure.xml file.
protected string $structureXmlFile
리턴 string