src/includes/utils.php
function get_call_count($tag='') {
		if ($tag) {
			$count = 0;
			foreach ($this->events as $e)
				if ($e['action'] == $tag)
					++$count;
			return $count;
		}
		return count($this->events);
	}
function get_call_count($tag='') {
		if ($tag) {
			$count = 0;
			foreach ($this->events as $e)
				if ($e['action'] == $tag)
					++$count;
			return $count;
		}
		return count($this->events);
	}
function get_call_count ( $ tag = '' ) { if ( $ tag ) { $ count = 0 ; foreach ( $ this -> events as $ e ) if ( $ e [ 'action' ] == $ tag ) ++ $ count ; return $ count ; } return count ( $ this -> events ) ; }
return a count of the number of times the action was called since the last reset
return a count of the number of times the action was called since the last reset