Class ppageParser

(line 3026)

Description

Publisher
   |
   --Parser
      |
      --ppageParser

Located in File: /phpDocumentor/Parser.inc

Global package page parser


Class Variables

Summary:
string $package
string $subpackage

$package = false (line 3029)

Data type : string

$subpackage = '' (line 3031)

Data type : string

Class Constants

Summary:

Method Detail

Summary:
ppageParser ppageParser ()
void defaultHandler (string $word, integer $pevent)
void handleInlineDockeyword (string $word, integer $pevent)
mixed parse ( &$parse_data,  $xml, [string $package = 'default'], [int $subpackage = ''], [ $tutorial = ''], [ $category = 'default'], [ $path = ''], string $parse_data)
void setupStates ()

Constructor ppageParser (line 3035)

ppageParser ppageParser( )

set up invariant Parser variables

Info

Method defaultHandler (line 3149)

void defaultHandler( string $word, integer $pevent)

Handles all non-inline tags

Parameters

  • string $word: token
  • integer $pevent: parser event

Info

Method handleInlineDockeyword (line 3165)

void handleInlineDockeyword( string $word, integer $pevent)

handler for INLINE_DOCKEYWORD.

this handler recognizes {@inline tags} like link, and parses them, replacing them directly in the text flow with their output.

Parameters

  • string $word: token
  • integer $pevent: parser event

Info

Method parse (line 3071)

mixed parse( &$parse_data, $xml, [string $package = 'default'], [int $subpackage = ''], [ $tutorial = ''], [ $category = 'default'], [ $path = ''], string $parse_data)

Overrides : Parser::parse() Parse a new file

Parse a new file

Parameters

  • string $parse_data:
  • string $package:
  • int $subpackage:
  • &$parse_data:
  • $xml:
  • $tutorial:
  • $category:
  • $path:

Info

  • return - false or parsed data

Method setupStates (line 3047)

void setupStates( )

Overrides : Parser::setupStates() setup the parser tokens, and the pushEvent/popEvent arrays

set up invariant Parser variables

Info

Inherited Variables

Inherited Class Variable Summary

Inherited From Class Publisher

Publisher::$subscriber - Array of references objects that have Subscribed to this publisher

Inherited Methods

Inherited Method Summary

Inherited From Class Parser

Parser::Parser() - Set up invariant parsing variables

Parser::categoryTagHandler() - handles @category

Parser::checkEventPop() - this function checks whether parameter $word is a token for popping the current event off of the Event Stack.

Parser::checkEventPush() - this function checks whether parameter $word is a token for pushing a new event onto the Event Stack.

Parser::configWordParser() - tell the parser's WordParser $wp to set up tokens to parse words by.

Parser::defaultTagHandler() - Handles all standard tags that only have a description

Parser::endTag() - Called to clean up at the end of parsing a @tag in a docblock

Parser::exampleTagHandler() - handles @example

Parser::getParserEventName() - Debugging function, takes an event number and attempts to return its name

Parser::globalTagHandler() - handles @global

Parser::invalidTagHandler() - Handles tags like '@filesource' that only work in PHP 4.3.0+

Parser::packageTagHandler() - handles @package

Parser::paramTagHandler() - handles @param

Parser::parse() - Parse a new file

Parser::propertyTagHandler() - Handles @property(-read or -write) and @method magic tag

Parser::returnTagHandler() - handles @return

Parser::setupStates() - setup the parser tokens, and the pushEvent/popEvent arrays

Parser::staticvarTagHandler() - handles @staticvar

Parser::usesTagHandler() - handles @uses

Parser::varTagHandler() - handles @var


Inherited From Class Publisher

Publisher::publishEvent() - Publish an event

Publisher::subscribe() - Adds a subscriber to the $subscriber array().



Documentation generated on Mon, 05 Dec 2011 21:28:36 -0600 by phpDocumentor 1.4.4