XML_Statistics::countAttribute()

XML_Statistics::countAttribute() -- count the occurences of an attribute

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::countAttribute ([string $attribute = null [, string $tagname = null]])

Описание

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

With the second parameter you may limit the search to a special tag.

Параметр

Возвращаемое значение

integer occurences of the attribute or a PEAR_Error if the attribute could not be found.

Заметка

Эта функция не должна вызываться статически.

См. также

XML_Statistics::countTag()


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ