public function getCount() {
		if ($this->_count === null) {
			if ($this->name === null) {
				throw new InvalidConfigException(get_class($this)." requires a name!");
			}
			$this->_count = $this->getConnection()->getSlave()->hlen($this->name);
		}
		return $this->_count;
	}
public function getCount() {
		if ($this->_count === null) {
			if ($this->name === null) {
				throw new InvalidConfigException(get_class($this)." requires a name!");
			}
			$this->_count = $this->getConnection()->getSlave()->hlen($this->name);
		}
		return $this->_count;
	}
public function getCount ( ) { if ( $ this -> _count === null ) { if ( $ this -> name === null ) { throw new InvalidConfigException ( get_class ( $ this ) . " requires a name!" ) ; } $ this -> _count = $ this -> getConnection ( ) -> getSlave ( ) -> hlen ( $ this -> name ) ; } return $ this -> _count ; }
Gets the number of items in the hash
@return int the number of items in the set
@throws InvalidConfigException
Gets the number of items in the hash