PHP Класс rootDoc

Наследование: extends Doc
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_packages packageDoc[] The parsed packages.
$_phpdoctor phpdoctor Reference to the PHPDoctor application object.
$_sources str[] The parsed contents of the source files

Открытые методы

Метод Описание
addPackage ( &$package ) Add a package to this root.
addSource ( $filename, $source, $fileData ) Add a source file to this root.
classNamed ( $name ) : ClassDoc Return a reference to a classDoc for the specified class/interface name
classes ( ) : ClassDoc[] Return a reference to the classes and interfaces to be documented.
functions ( ) : MethodDoc[] Return a reference to the functions to be documented.
globals ( ) : FieldDoc[] Return a reference to the globals to be documented.
options ( ) : str[] Return a reference to the set options.
packageNamed ( $name, $create = FALSE ) : PackageDoc Return a reference to a packageDoc for the specified package name. If a package of the requested name does not exist, this method will create the package object, add it to the root and return it.
packages ( ) : PackageDoc[] Return a reference to the packages to be documented.
phpdoctor ( ) : PHPDoctor. Return a reference to the PHPDoctor application object.
rootDoc ( &$phpdoctor ) Constructor
sources ( ) : str[] Return a reference to the source files to be documented.

Описание методов

addPackage() публичный метод

Add a package to this root.
public addPackage ( &$package )

addSource() публичный метод

Add a source file to this root.
public addSource ( $filename, $source, $fileData )

classNamed() публичный метод

Return a reference to a classDoc for the specified class/interface name
public classNamed ( $name ) : ClassDoc
Результат ClassDoc

classes() публичный метод

Return a reference to the classes and interfaces to be documented.
public classes ( ) : ClassDoc[]
Результат ClassDoc[]

functions() публичный метод

Return a reference to the functions to be documented.
public functions ( ) : MethodDoc[]
Результат MethodDoc[]

globals() публичный метод

Return a reference to the globals to be documented.
public globals ( ) : FieldDoc[]
Результат FieldDoc[]

options() публичный метод

Return a reference to the set options.
public options ( ) : str[]
Результат str[] An array of strings.

packageNamed() публичный метод

Return a reference to a packageDoc for the specified package name. If a package of the requested name does not exist, this method will create the package object, add it to the root and return it.
public packageNamed ( $name, $create = FALSE ) : PackageDoc
Результат PackageDoc

packages() публичный метод

Return a reference to the packages to be documented.
public packages ( ) : PackageDoc[]
Результат PackageDoc[]

phpdoctor() публичный метод

Return a reference to the PHPDoctor application object.
public phpdoctor ( ) : PHPDoctor.
Результат PHPDoctor.

rootDoc() публичный метод

Constructor
public rootDoc ( &$phpdoctor )

sources() публичный метод

Return a reference to the source files to be documented.
public sources ( ) : str[]
Результат str[]

Описание свойств

$_packages публичное свойство

The parsed packages.
public packageDoc[] $_packages
Результат packageDoc[]

$_phpdoctor публичное свойство

Reference to the PHPDoctor application object.
public phpdoctor $_phpdoctor
Результат phpdoctor

$_sources публичное свойство

The parsed contents of the source files
public str[] $_sources
Результат str[]