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.