\Kaloa\Renderer\InigoParser

Inigo

Do not use this renderer. The code is very (!) old. It's in here for backwards compatibility reasons

Summary

Methods
Properties
Constants
addHandler()
addSetting()
getHandlers()
Parse()
No public properties found
TAG_OUTLINE
TAG_INLINE
TAG_PRE
TAG_SINGLE
TAG_CLEAR_CONTENT
TAG_FORCE_PARAGRAPHS
PC_IMG_ALIGN_LEFT
PC_IMG_ALIGN_RIGHT
PC_IMG_ALIGN_CENTER
PC_PARSER_QUOTE_LEFT
PC_PARSER_QUOTE_RIGHT
printHandlerMarkup()
getNextTag()
fitsStack()
parseEx()
formatString()
printCData()
$s
$m_stack
$m_handlers
$m_vars
N/A
No private methods found
No private properties found
N/A

Constants

TAG_OUTLINE

TAG_OUTLINE

TAG_INLINE

TAG_INLINE

TAG_PRE

TAG_PRE

TAG_SINGLE

TAG_SINGLE

TAG_CLEAR_CONTENT

TAG_CLEAR_CONTENT

TAG_FORCE_PARAGRAPHS

TAG_FORCE_PARAGRAPHS

PC_IMG_ALIGN_LEFT

PC_IMG_ALIGN_LEFT

PC_IMG_ALIGN_RIGHT

PC_IMG_ALIGN_RIGHT

PC_IMG_ALIGN_CENTER

PC_IMG_ALIGN_CENTER

PC_PARSER_QUOTE_LEFT

PC_PARSER_QUOTE_LEFT

PC_PARSER_QUOTE_RIGHT

PC_PARSER_QUOTE_RIGHT

Properties

$s

$s : 

Type

$m_stack

$m_stack : 

Type

$m_handlers

$m_handlers : 

Type

$m_vars

$m_vars : 

Type

Methods

addSetting()

addSetting(  $name,   $value = '') 

Parameters

$name
$value

getHandlers()

getHandlers() : 

Returns

Parse()

Parse(  $s) 

Parameters

$s

printHandlerMarkup()

printHandlerMarkup(\Kaloa\Renderer\Inigo\Tag  $tag,   $front = true,   $tag_content = '') 

Parameters

\Kaloa\Renderer\Inigo\Tag $tag
$front
$tag_content

getNextTag()

getNextTag(string  $s, integer  $i, integer  $position) : \Kaloa\Renderer\Inigo\Tag

Gets the next tag

Parameters

string $s

String to parse

integer $i

Offset where search begins

integer $position

Will be filled with next tag's offset (FALSE if there are no more tags)

Returns

\Kaloa\Renderer\Inigo\Tag

parseEx()

parseEx() 

formatString()

formatString(string  $s) : string

Formats small pieces of CDATA

Parameters

string $s

Returns

string

printCData()

printCData(\Kaloa\Renderer\Inigo\&string  $cdata, boolean  $outline = false) : string

Formats whole blocks of CDATA

Parameters

\Kaloa\Renderer\Inigo\&string $cdata
boolean $outline

Returns

string