PHP Class MDWriter

ファイルを表示 Open project: peej/phpdoctor Class Usage Examples

Public Properties

Property Type Description
$_depth integer The directory structure depth. Used to calculate relative paths.
$_doclet doclet The doclet that created this object.
$_gitHubBranch string
$_gitHubRepository string
$_gitHubSourceDirectory string
$_gitHubSourcesBranch string
$_gitHubSourcesRepository string
$_id str The id attribute value, used for selecting style.
$_output str The output body.

Public Methods

Method Description
_asPath ( $element )
_asURL ( $element )
_fieldSignature ( $element )
_flatSignature ( $method )
_methodSignature ( $method )
_normalize ( $name )
_processInlineTags ( &$tag, $first = FALSE ) : str Convert inline tags into a string for outputting.
_processTags ( &$tags ) : str Format tags for output.
_sourceLocation ( $doc )
_write ( $path ) Write the HTML page to disk using the given path.
getDirBaseURL ( )
getFileBaseURL ( )
getSourcesBaseURL ( )
mdWriter ( &$doclet ) Writer constructor.

Method Details

_asPath() public method

public _asPath ( $element )

_asURL() public method

public _asURL ( $element )

_fieldSignature() public method

public _fieldSignature ( $element )

_flatSignature() public method

public _flatSignature ( $method )

_methodSignature() public method

public _methodSignature ( $method )

_normalize() public method

public _normalize ( $name )

_processInlineTags() public method

Convert inline tags into a string for outputting.
public _processInlineTags ( &$tag, $first = FALSE ) : str
return str The string representation of the elements doc tags

_processTags() public method

Format tags for output.
public _processTags ( &$tags ) : str
return str The string representation of the elements doc tags

_sourceLocation() public method

public _sourceLocation ( $doc )

_write() public method

Write the HTML page to disk using the given path.
public _write ( $path )

getDirBaseURL() public method

public getDirBaseURL ( )

getFileBaseURL() public method

public getFileBaseURL ( )

getSourcesBaseURL() public method

public getSourcesBaseURL ( )

mdWriter() public method

Writer constructor.
public mdWriter ( &$doclet )

Property Details

$_depth public_oe property

The directory structure depth. Used to calculate relative paths.
public int $_depth
return integer

$_doclet public_oe property

The doclet that created this object.
public doclet $_doclet
return doclet

$_gitHubBranch public_oe property

public string $_gitHubBranch
return string

$_gitHubRepository public_oe property

public string $_gitHubRepository
return string

$_gitHubSourceDirectory public_oe property

public string $_gitHubSourceDirectory
return string

$_gitHubSourcesBranch public_oe property

public string $_gitHubSourcesBranch
return string

$_gitHubSourcesRepository public_oe property

public string $_gitHubSourcesRepository
return string

$_id public_oe property

The id attribute value, used for selecting style.
public str $_id
return str

$_output public_oe property

The output body.
public str $_output
return str