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 |
string getProgramListing(
)
|
|
Return the source for the example file, enclosed in
a <programlisting> tag to use in a tutorial
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()