phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]
Packages:
phpDocumentor
Converters


Tutorials/Manuals:
Package-level: Files:
actions.php
bug-560532.php
bug-772441.php
builder.php
Classes.inc
clone.inc.php
clone5.inc.php
common.inc.php
config.php
EventStack.inc
file_dialog.php
HighlightParserTests.php
IntermediateParser.inc
IntermediateParserTests.php
Io.inc
new_phpdoc.php
ParserClassTests.php
ParserDescCleanup.inc
ParserPageTests.php
phpdoc.inc
phpdoc.php
phpDocumentorSetupTests.php
phpDocumentorTParserTests.php
ProceduralPages.inc
Publisher.inc
Setup.inc.php
top.php
utilities.php

subpackage DescHTML
DescHTML.inc

subpackage DocBlockTags
DocBlockTags.inc

subpackage Errors
Errors.inc

subpackage InlineTags
InlineTags.inc

subpackage Links
LinkClasses.inc

subpackage ParserData
ParserData.inc

subpackage ParserDocBlock
ParserDocBlock.inc

subpackage ParserElements
ParserElements.inc

subpackage Parsers
Beautifier.php
HighlightParser.inc
Parser.inc
phpDocumentorTParser.inc
Tokenizer.php
TutorialHighlightParser.inc
XMLpackagePageParser.inc

subpackage setup
find_phpdoc.php

subpackage Tutorial
PackagePageElements.inc

subpackage WordParsers
phpDocumentorTWordParser.inc
WordParser.inc

Classes:
Parsers
Parser
parserDescParser
phpDocumentorTParser
phpDocumentor_HighlightParser
phpDocumentor_HighlightWordParser
phpDocumentor_peardoc2_XML_Beautifier
phpDocumentor_TutorialHighlightParser
phpDocumentor_XML_Beautifier_Tokenizer
ppageParser
XMLPackagePageParser
bug_772441
Classes
EventStack
Io
phpDocumentor_IntermediateParser
phpDocumentor_setup
ProceduralPages
Publisher
tests_HighlightParserTests
tests_IntermediateParserTests
tests_ParserClassTests
tests_ParserPageTests
tests_phpDocumentorSetupTests
tests_phpDocumentorTParserTests
DescHTML
parserB
parserBr
parserCode
parserDescVar
parserI
parserKbd
parserList
parserPre
parserSamp
DocBlockTags
parserAccessTag
parserExampleTag
parserFileSourceTag
parserLicenseTag
parserLinkTag
parserMethodTag
parserNameTag
parserParamTag
parserPropertyReadTag
parserPropertyTag
parserPropertyWriteTag
parserReturnTag
parserSeeTag
parserStaticvarTag
parserTag
parserTutorialTag
parserUsedByTag
parserUsesTag
parserVarTag
Errors
ErrorTracker
RecordError
RecordWarning
InlineTags
parserExampleInlineTag
parserIdInlineTag
parserInheritdocInlineTag
parserInlineTag
parserLinkInlineTag
parserSourceInlineTag
parserTocInlineTag
parserTutorialInlineTag
Links
abstractLink
classLink
constLink
defineLink
functionLink
globalLink
methodLink
pageLink
tutorialLink
varLink
Tutorial
parserCData
parserEntity
parserXMLDocBookTag
ParserData
parserBase
parserData
parserPage
parserStringWithInlineTags
WordParsers
ObjectWordParser
phpDocumentorTWordParser
WordParser
ParserDocBlock
parserDesc
parserDocBlock
ParserElements
parserClass
parserConst
parserDefine
parserElement
parserFunction
parserGlobal
parserInclude
parserMethod
parserPackagePage
parserTutorial
parserVar

Class: parserPage

Source Location: /phpDocumentor/ParserData.inc



Class Details

[line 59]
Contains information about a PHP file, used to group procedural elements together.



Tags:

author: Gregory Beaver <[email protected]>
version: Release: @VER@
copyright: 2002-2008 Gregory Beaver
todo: CS cleanup - change package to PhpDocumentor
todo: CS cleanup - change classname to PhpDocumentor_*
since: 1.0rc1
license: LGPL


[ Top ]


Class Variables

$category = 'default'

[line 97]


Type: string


[ Top ]

$file = ''

[line 76]

filename.ext (no path)


Type: string


[ Top ]

$id = ''

[line 71]

not implemented in this version, will be used to link xml output pages


Type: string


[ Top ]

$modDate = ''

[line 115]

not implemented yet

file modification date, will be used for makefiles



Type: string


[ Top ]

$name = ''

[line 86]

phpdoc-safe name (only letters, numbers and _)


Type: string


[ Top ]

$origName = ''

[line 93]

original phpdoc-safe name (only letters, numbers and _)

This fixes [ 1391432 ] Too many underscores in include links.



Type: string


[ Top ]

$package = 'default'

[line 101]


Type: string


[ Top ]

$packageOutput = false

[line 132]

Used to limit output, contains contents of --packageoutput commandline.

Does not increase parsing time. Use --ignore for that




Tags:

var: either false or an array of packages

Type: mixed


[ Top ]

$parserVersion = PHPDOCUMENTOR_VER

[line 109]


Type: string


[ Top ]

$path = ''

[line 119]



Tags:

var: full path this page represents

Type: string


[ Top ]

$source = array()

[line 124]

Tokenized source code of the file


Type: array


[ Top ]

$sourceLocation = ''

[line 81]

relative source location


Type: string


[ Top ]

$subpackage = ''

[line 105]


Type: string


[ Top ]

$type = 'page'

[line 66]

Type is used by many functions to skip the hassle of if

  1. phpDocumentor_get_class ($blah) == 'parserBlah'



Type: string


[ Top ]



Class Methods


constructor parserPage [line 139]

parserPage parserPage( )

sets package to default package



Tags:

global: string $phpDocumentor_DefaultPackageName: default package name


[ Top ]

method getFile [line 188]

string|bool getFile( )

gets the file name



Tags:

return: filename.ext or @name alias, or FALSE if it's not set


[ Top ]

method getName [line 273]

string getName( )

gets the name



Tags:

return: phpdoc-safe name (only _, numbers and letters), or FALSE if it's not set


[ Top ]

method getPackageOutput [line 247]

array getPackageOutput( )

gets the package output array



Tags:

return: array of packages (package1,package2,...)


[ Top ]

method getParseData [line 333]

bool getParseData( )

Not implemented in this version



Tags:

return: tell the parser whether to parse the file, otherwise this function will retrieve the parsed data from external file


[ Top ]

method getPath [line 219]

string getPath( )

gets the path



Tags:

return: fully delimited path (OS-dependent format), or FALSE if it's not set


[ Top ]

method getSourceLocation [line 307]

string getSourceLocation( Converter $c, [bool $pearize = false])

gets the source location



Tags:

return: path of this file relative to program root
todo: determine if the str_replace in the 'pear/' ELSE branch should be removed (see Documentation/tests/bug1574043.php). It does NOT exist in the similar function parserClass->getSourceLocation() in ParserElements.inc.


Parameters:

Converter $c the output converter
bool $pearize if this parameter is true, it will truncate the source location to the subdirectory of pear

[ Top ]

method getType [line 150]

string getType( )

gets the tag type



Tags:

return: always "page"


[ Top ]

method setFile [line 177]

void setFile( string $file)

Sets the name to display in documentation (can be an alias set with @name)



Parameters:

string $file the file name

[ Top ]

method setName [line 261]

void setName( string $name)

sets the name



Tags:



Parameters:

string $name phpdoc-safe name (only _, numbers and letters) set by Parser::parse()

[ Top ]

method setPackageOutput [line 236]

void setPackageOutput( array $packages)

loads the package output array



Tags:



Parameters:

array $packages array of packages to display in documentation (package1,package2,...)

[ Top ]

method setPath [line 203]

void setPath( string $path)

sets the path to the file



Parameters:

string $path full path to file

[ Top ]

method setSource [line 165]

void setSource( string|array $source)

Sets the source code of the file for highlighting.

PHP 4.3.0+ passes an array of tokenizer tokens by line number. PHP 4.2.3- passes a string to be passed to http://www.php.net/highlight_string




Parameters:

string|array $source the token array/string

[ Top ]

method setSourceLocation [line 288]

void setSourceLocation( string $source)

sets the source location



Parameters:

string $source path of this file relative to program root

[ Top ]


Documentation generated on 2011年12月06日 07:14:26 -0600 by phpDocumentor 1.4.4

AltStyle によって変換されたページ (->オリジナル) /