Class PHPFIT_Parse

Description

Located in /Parse.php (line 13)


	
			
Variable Summary
 mixed $body
 mixed $count
 mixed $end
 string $leader
 mixed $more
 Parse $parts
 mixed $tag
 mixed $tagCount
 array $tags
 mixed $trailer
Method Summary
 PHPFIT_Parse __construct (string $text, [array $tags = null], int $level, int $offset, [mixed $simple = false])
 void addToBody (string $text)
 void addToTag (string $text)
 Parse at (int $i, [int $j = null], [int $k = null])
 string condenseWhitespace (string $s)
 string htmlToText (string $s)
 Parse last ()
 Parse leaf ()
 string normalizeLineBreaks (string $s)
 string removeNonBreakTags (string $s)
 int size ()
 string text ()
 string toString ()
 string unescape (string $s)
 string unescapeEntities (string $s)
 string unescapeSmartQuotes (string $s)
Variables
mixed $body (line 21)
  • access: public
mixed $count = 0 (line 24)
  • access: public
mixed $end (line 22)
  • access: public
string $leader (line 19)
  • access: public
mixed $more (line 32)
  • access: public
Parse $parts (line 31)
  • access: public
mixed $tag (line 20)
  • access: public
mixed $tagCount = array(
'table' => 0,
'tr' => 0,
'td' => 0,
)
(line 46)

Keep in mind how often a tag was called

Consider that "td" will be reseted if a "tr" starts. Also "tr" will be reseted on start of "table"

  • static:
  • access: private
array $tags = array( 'table', 'tr', 'td' ) (line 38)
  • static:
  • access: public
mixed $trailer (line 23)
  • access: public
Methods
Constructor __construct (line 58)
  • access: public
PHPFIT_Parse __construct (string $text, [array $tags = null], int $level, int $offset, [mixed $simple = false])
  • string $text: text
  • array $tags: tags
  • int $level: level
  • int $offset: offset
addToBody (line 318)
  • access: public
void addToBody (string $text)
  • string $text: text
addToTag (line 308)
  • access: public
void addToTag (string $text)
  • string $text: text
at (line 162)
  • access: public
Parse at (int $i, [int $j = null], [int $k = null])
  • int $i: i
  • int $j: j
  • int $k: k
condenseWhitespace (line 265)
  • static:
  • access: public
string condenseWhitespace (string $s)
  • string $s
htmlToText (line 186)
  • static:
  • access: public
string htmlToText (string $s)
  • string $s
last (line 140)
  • access: public
Parse last ()
leaf (line 149)
  • access: public
Parse leaf ()
normalizeLineBreaks (line 253)
  • static:
  • access: private
string normalizeLineBreaks (string $s)
  • string $s
removeNonBreakTags (line 283)
  • static:
  • access: private
string removeNonBreakTags (string $s)
  • string $s
size (line 131)
  • access: public
int size ()
text (line 176)
  • access: public
string text ()
toString (line 327)
  • access: public
string toString ()
unescape (line 202)
  • static:
  • access: public
string unescape (string $s)
  • string $s
unescapeEntities (line 215)
  • static:
  • access: private
string unescapeEntities (string $s)
  • string $s
unescapeSmartQuotes (line 230)
  • static:
  • access: public
string unescapeSmartQuotes (string $s)
  • string $s

Documentation generated on Sun, 02 Apr 2006 23:21:39 +0000 by phpDocumentor 1.3.0RC5