phpDocumentor phpDocumentor
InlineTags
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]

Class: parserExampleInlineTag

Source Location: /phpDocumentor/InlineTags.inc

Class parserExampleInlineTag

Class Overview

Represents the example inline tag, used to display an example file

inside a docblock or tutorial

Located in /phpDocumentor/InlineTags.inc [line 481]

parserBase
   |
   --parserInlineTag
      |
      --parserSourceInlineTag
         |
         --parserExampleInlineTag
Author(s): Information Tags:
Version:  $Revision: 1.6 $
Tutorial:  inline {@example}

Methods

[ Top ]
Method Summary
parserExampleInlineTag   parserExampleInlineTag()  
void   arrayConvert()  
string   getProgramListing()   Return the source for the example file, enclosed in
void   setSource()  

[ Top ]
Methods
Constructor parserExampleInlineTag  [line 490]

  parserExampleInlineTag parserExampleInlineTag( string $value, string $current_path, [boolean $isTutorial = false]  )

Parameters:
string   $value:  format "filepath[ start [end]]" where start and end are line numbers with the end line number optional
string   $current_path:  full path to the current file, used to check relative directory locations
boolean   $isTutorial:  if true, then this is in a tutorial


[ Top ]
arrayConvert  [line 641]

  void arrayConvert( Converter &$c  )

Parameters:
Converter   &$c: 

API Tags:
Uses:  phpDocumentor_HighlightParser - Parses the tokenized source


Redefinition of:
parserSourceInlineTag::arrayConvert()

[ Top ]
getProgramListing  [line 658]

  string getProgramListing( )

Return the source for the example file, enclosed in

a <programlisting> tag to use in a tutorial



[ Top ]
setSource  [line 631]

  void setSource( string|array $source, [boolean $class = false], string 2  )

Parameters:
string   2:  class name if this is a method
string|array   $source:  source code
boolean   $class:  in php 4.3.0, if this is a method this will be true


Redefinition of:
parserSourceInlineTag::setSource()

[ Top ]

Documentation generated on Tue, 24 Oct 2006 09:23:38 -0500 by phpDocumentor 1.3.1