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: ErrorTracker

Source Location: /phpDocumentor/Errors.inc

Class Overview


contains all the errors/warnings


Author(s):

Version:

  • Release: @VER@

Copyright:

  • 2001-2008 Gregory Beaver

Variables

Methods



Class Details

[line 894]
contains all the errors/warnings



Tags:

author: Greg Beaver <[email protected]>
version: Release: @VER@
copyright: 2001-2008 Gregory Beaver
todo: CS cleanup - change package to PhpDocumentor
license: LGPL


[ Top ]


Class Variables

$curfile = ''

[line 909]


Type: string


[ Top ]

$errors = array()

[line 900]

array of RecordErrors


Type: array


[ Top ]

$lasterror = false

[line 919]

index in $errors of last error triggered


Type: integer|false


[ Top ]

$lastwarning = false

[line 925]

index in $warnings of last warning triggered


Type: integer|false


[ Top ]

$linenum = 0

[line 913]


Type: integer


[ Top ]

$warnings = array()

[line 905]

array of RecordWarnings


Type: array


[ Top ]



Class Methods


method addError [line 993]

void addError( integer $num, string $data...)

add a new error to the $errors array



Tags:

todo: CS Cleanup - do I need to add $data to the method signature?


Parameters:

integer $num error number from Errors.inc
string $data... up to 4 string parameters to sprintf() into the error string for error number $num

[ Top ]

method addErrorReturn [line 1016]

void addErrorReturn( integer $num, string $data...)

add a new error to the $errors array and returns the error string



Tags:

todo: CS Cleanup - do I need to add $data to the method signature?


Parameters:

integer $num error number from Errors.inc
string $data... up to 4 string parameters to sprintf() into the error string for error number $num

[ Top ]

method addWarning [line 970]

void addWarning( integer $num, string $data...)

add a new warning to the $warnings array



Tags:

todo: CS Cleanup - do I need to add $data to the method signature?


Parameters:

integer $num error number from Errors.inc
string $data... up to 4 string parameters to sprintf() into the error string for error number $num

[ Top ]

method handleEvent [line 940]

void handleEvent( integer $num, mixed $data)

This function subscribes to two events in the Parser in order to keep track of line number information and file name.



Parameters:

integer $num parser-passed event (see PHPDOCUMENTOR_EVENT_NEWLINENUM, PHPDOCUMENTOR_EVENT_NEWFILE)
mixed $data either a line number if $num is PHPDOCUMENTOR_EVENT_NEWLINENUM or a file name if $num is PHPDOCUMENTOR_EVENT_NEWFILE

[ Top ]

method returnErrors [line 1045]

array &returnErrors( )

Get sorted array of all non-fatal errors in parsing/conversion



[ Top ]

method returnLastError [line 1077]

string returnLastError( )

Get the error message of the last error



[ Top ]

method returnLastWarning [line 1087]

string returnLastWarning( )

Get the warning message of the last warning



[ Top ]

method returnWarnings [line 1034]

array &returnWarnings( )

Get sorted array of all warnings in parsing/conversion



[ Top ]


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

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