PHP Class Doku_Handler_Block, dokuwiki

Author: Harry Fuecks ([email protected])
Mostrar archivo Open project: splitbrain/dokuwiki Class Usage Examples

Public Properties

Property Type Description
$blockClose
$blockOpen Blocks these should not be inside paragraphs
$calls
$inParagraph
$skipEol
$stackClose
$stackOpen Stacks can contain paragraphs

Public Methods

Method Description
__construct ( ) Constructor. Adds loaded syntax plugins to the block and stack arrays
addCall ( $call )
closeParagraph ( $pos ) Close a paragraph if needed
openParagraph ( $pos )
process ( $calls ) Processes the whole instruction stack to open and close paragraphs
storeCall ( $call ) simple version of addCall, without checking cdata

Method Details

__construct() public method

Constructor. Adds loaded syntax plugins to the block and stack arrays
Author: Andreas Gohr ([email protected])
public __construct ( )

addCall() public method

public addCall ( $call )

closeParagraph() public method

This function makes sure there are no empty paragraphs on the stack
Author: Andreas Gohr ([email protected])
public closeParagraph ( $pos )

openParagraph() public method

public openParagraph ( $pos )

process() public method

Processes the whole instruction stack to open and close paragraphs
Author: Harry Fuecks ([email protected])
Author: Andreas Gohr ([email protected])
public process ( $calls )

storeCall() public method

simple version of addCall, without checking cdata
public storeCall ( $call )

Property Details

$blockClose public_oe property

public $blockClose

$blockOpen public_oe property

Blocks these should not be inside paragraphs
public $blockOpen

$calls public_oe property

public $calls

$inParagraph public_oe property

public $inParagraph

$skipEol public_oe property

public $skipEol

$stackClose public_oe property

public $stackClose

$stackOpen public_oe property

Stacks can contain paragraphs
public $stackOpen