XML_Statistics::countTag

XML_Statistics::countTag()

XML_Statistics::countTag() -- count the occurences of a tag

Description

Counts how often a certain tag is used in the document. If no tagname is specified ot will count the total number of tags.

Parameter

  • string $tagname - name of the tag to count

Return value

integer occurences of the tag

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.