public function getExtension()
	{
		if (!isset($this->extension))
		{
			$bits = explode('.', $this->getName());
			if (count($bits) > 1)
			{
				$this->extension = end($bits);
			}
			else
			{
				$this->extension = '';
			}
		}

		return $this->extension;
	}
public function getExtension()
	{
		if (!isset($this->extension))
		{
			$bits = explode('.', $this->getName());
			if (count($bits) > 1)
			{
				$this->extension = end($bits);
			}
			else
			{
				$this->extension = '';
			}
		}

		return $this->extension;
	}
public function getExtension ( ) { if ( ! isset ( $ this -> extension ) ) { $ bits = explode ( '.' , $ this -> getName ( ) ) ; if ( count ( $ bits ) > 1 ) { $ this -> extension = end ( $ bits ) ; } else { $ this -> extension = '' ; } } return $ this -> extension ; }
Grabs the entity extension

@return  string
Grabs the entity extension