New method
Status: Beta
Brought to you by:
nigelswinson
I have added this new method to the <phplib/>:
/**
* Return the number of occurences of a
document namespace.
*
* This method return the number of occurences
of a document namespace specified in
* the argument.
*
* @access public
* @author Florent Gilles <florent@kzar.net>
* @param string $path Full document path
of the namespace, from which the
* number of occurences should be
retrieved.
* @return integer The returned integer is
the number of occurence of the
* specified namespace.
* @see $nodes, $ids
*/
function count_nodes ( $path )
{
return $this->ids[$path];
}
Logged In: YES
user_id=270120
Damn, really sorry, didn't get this into 1.N.5 I'll try to
make sure it's in the next version. :o)