XML_Statistics::countExternalEntity

XML_Statistics::countExternalEntity() – count the occurences of an external entitity

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::countExternalEntity ( string $name = null )

Description

Counts how often a certain external is used in the document. If no name is specified ot will count the total number of external entities.

Parameter

  • string $name - name of the external entity, without '&' and ';'

Return value

integer occurences of the external entity

Note

This function can not be called statically.

count the occurences of a processing instruction (Previous) get the maximum nesting level (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.