KWeb  6.4
TextParser Class Reference

Klasa do parsowania tekstów. More...

Public Member Functions

 __construct ($data=array())
 isAnalyzed ()
 Zwraca true gdy przygotowane są strony.
 parse ($text, $scripts, $vars=array())
 analyze ()
 getText ()
 isEmpty ()
 getSections ()
 getPagesCount ($level=0, $includeLowerLevels=false)
 getInsets ()
 Returns all inset ids.
 getInsetsData ()
 Returns all insets data as na array of arrays: id => object's id genre => object's genre src => src used for the inset vars => variables.
 getSection ($id, $nest=true)
 getSectionTitle ($id)

Data Fields

 $data
 $text
 $heads
 $vars

Static Public Attributes

static $current

Detailed Description

Klasa do parsowania tekstów.


Constructor & Destructor Documentation

TextParser::__construct ( data = array())

Member Function Documentation

TextParser::analyze ( )
TextParser::getInsets ( )

Returns all inset ids.

TextParser::getInsetsData ( )

Returns all insets data as na array of arrays: id => object's id genre => object's genre src => src used for the inset vars => variables.

TextParser::getPagesCount ( level = 0,
includeLowerLevels = false 
)
TextParser::getSection ( id,
nest = true 
)
TextParser::getSections ( )
TextParser::getSectionTitle ( id)
TextParser::getText ( )
TextParser::isAnalyzed ( )

Zwraca true gdy przygotowane są strony.

TextParser::isEmpty ( )
TextParser::parse ( text,
scripts,
vars = array() 
)
Parameters:
listaskryptów do wywołania jako tablica nazw

Field Documentation

TextParser::$current [static]
TextParser::$data
TextParser::$heads
TextParser::$text
TextParser::$vars

The documentation for this class was generated from the following file: