protected function getTotal()
	{
		if (null == $this->_total) {
			$this->_total = 0;
			foreach ($this->types as $type) {
				if (isset($type['value'])) {
					$this->_total += $type['value'];
				}
			}
		}
		return $this->_total;
	}
protected function getTotal()
	{
		if (null == $this->_total) {
			$this->_total = 0;
			foreach ($this->types as $type) {
				if (isset($type['value'])) {
					$this->_total += $type['value'];
				}
			}
		}
		return $this->_total;
	}
protected function getTotal ( ) { if ( null == $ this -> _total ) { $ this -> _total = 0 ; foreach ( $ this -> types as $ type ) { if ( isset ( $ type [ 'value' ] ) ) { $ this -> _total += $ type [ 'value' ] ; } } } return $ this -> _total ; }
Returns the total of types
@return int holds
Returns the total of types