XML_Statistics::countExternalEntity

XML_Statistics::countExternalEntity() – 外部エンティティの出現数をカウントする

Synopsis

require_once 'XML/Statistics.php';

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

Description

ある外部エンティティが文書の中でどれだけ使用されたかをカウントします。名前が指定されなければ、外部エンティティのすべての数がカウントされます。

Parameter

  • string $name - '&' と ';'をのぞく外部エンティティの名前

Return value

integer 外部エンティティの出現数

Note

This function can not be called statically.