public function getExtension()
    {
        $name = $this->_file['name'];
        return ($extension = pathinfo($name, PATHINFO_EXTENSION)) === $name ? '' : $extension;
    }
public function getExtension()
    {
        $name = $this->_file['name'];
        return ($extension = pathinfo($name, PATHINFO_EXTENSION)) === $name ? '' : $extension;
    }
public function getExtension ( ) { $ name = $ this -> _file [ 'name' ] ; return ( $ extension = pathinfo ( $ name , PATHINFO_EXTENSION ) ) === $ name ? '' : $ extension ; }
Returns the file extension

@return string
Returns the file extension