extension/ezjscore/classes/ajaxuploader/ezprelationlistajaxuploader.php
public function getFileInfo()
    {
        $upload = new eZContentUpload();
        $errors = array();
        $mimeData = $file = '';
        $result = $upload->fetchHTTPFile( 'UploadFile', $errors, $file, $mimeData );

        if ( $result === false )
        {
            throw new RuntimeException(
                ezpI18n::tr(
                    'extension/ezjscore/ajaxuploader',
                    'Unable to retrieve the uploaded file: %message',
                    null, array( '%message' => $errors[0]['description'] )
                )
            );
        }
        return array(
            'file' => $file,
            'mime' => $mimeData
        );
    }
public function getFileInfo()
    {
        $upload = new eZContentUpload();
        $errors = array();
        $mimeData = $file = '';
        $result = $upload->fetchHTTPFile( 'UploadFile', $errors, $file, $mimeData );

        if ( $result === false )
        {
            throw new RuntimeException(
                ezpI18n::tr(
                    'extension/ezjscore/ajaxuploader',
                    'Unable to retrieve the uploaded file: %message',
                    null, array( '%message' => $errors[0]['description'] )
                )
            );
        }
        return array(
            'file' => $file,
            'mime' => $mimeData
        );
    }
public function getFileInfo ( ) { $ upload = new eZContentUpload ( ) ; $ errors = array ( ) ; $ mimeData = $ file = '' ; $ result = $ upload -> fetchHTTPFile ( 'UploadFile' , $ errors , $ file , $ mimeData ) ; if ( $ result === false ) { throw new RuntimeException ( ezpI18n :: tr ( 'extension/ezjscore/ajaxuploader' , 'Unable to retrieve the uploaded file: %message' , null , array ( '%message' => $ errors [ 0 ] [ 'description' ] ) ) ) ; } return array ( 'file' => $ file , 'mime' => $ mimeData ) ; }
Returns infos on the uploaded file

@return array( 'mime' => array(), 'file' => eZHTTPFile )
@throw RuntimeException if the uploaded file can not be found
Returns infos on the uploaded file