XML_Statistics::countDataChunks

XML_Statistics::countDataChunks() – count the occurences of a data blocks

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::countDataChunks ( )

Description

This is influenced by the 'ignoreWhitespace' option. Furthermore a new chunk is counted when the parser find a linebreak or internal entity.

Parameter

This method does not accept any parameters.

Return value

integer number of data chunks in the document

Note

This function can not be called statically.

count the occurences of an attribute (Previous) get the combined length of all CData sections (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.