library/Garp/Form/Element/File.php
public function getFileObject() {
        if ($this->getAttrib('data-type') === Garp_File::TYPE_IMAGES) {
            $file = new Garp_Image_File();
        } else {
            $file = new Garp_File();
        }
        return $file;
    }
public function getFileObject() {
        if ($this->getAttrib('data-type') === Garp_File::TYPE_IMAGES) {
            $file = new Garp_Image_File();
        } else {
            $file = new Garp_File();
        }
        return $file;
    }
public function getFileObject ( ) { if ( $ this -> getAttrib ( 'data-type' ) === Garp_File :: TYPE_IMAGES ) { $ file = new Garp_Image_File ( ) ; } else { $ file = new Garp_File ( ) ; } return $ file ; }
Get file object based on attribute data-type
@return Garp_File
Get file object based on attribute data - type