XML_Statistics::countTag

XML_Statistics::countTag() – タグの出現数をカウントする

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::countTag ( string $tagname = null )

Description

文書の中であるタグがどれだけ使用されているかをカウントします。タグの名前が指定されなければ、すべてのタグの数がカウントされます。

Parameter

  • string $tagname - カウントするタグの名前

Return value

integer タグの出現数

Note

This function can not be called statically.