[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Parsing/Handler/ -> Block.php (summary)

(no description)

File Size: 201 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Block:: (6 methods):
  __construct()
  openParagraph()
  closeParagraph()
  addCall()
  storeCall()
  process()


Class: Block  - X-Ref

Handler for paragraphs

__construct()   X-Ref
Constructor. Adds loaded syntax plugins to the block and stack
arrays

author: Andreas Gohr <andi@splitbrain.org>

openParagraph($pos)   X-Ref
No description

closeParagraph($pos)   X-Ref
Close a paragraph if needed

This function makes sure there are no empty paragraphs on the stack

param: string|integer $pos
author: Andreas Gohr <andi@splitbrain.org>

addCall($call)   X-Ref
No description

storeCall($call)   X-Ref
No description

process($calls)   X-Ref
Processes the whole instruction stack to open and close paragraphs

param: array $calls
author: Harry Fuecks <hfuecks@gmail.com>
author: Andreas Gohr <andi@splitbrain.org>
return: array