function _ruleIsUploadedFile($elementValue)
    {
        if ((isset($elementValue['error']) && $elementValue['error'] == 0) ||
            (!empty($elementValue['tmp_name']) && $elementValue['tmp_name'] != 'none')) {
            return is_uploaded_file($elementValue['tmp_name']);
        } else {
            return false;
        }
    }
function _ruleIsUploadedFile($elementValue)
    {
        if ((isset($elementValue['error']) && $elementValue['error'] == 0) ||
            (!empty($elementValue['tmp_name']) && $elementValue['tmp_name'] != 'none')) {
            return is_uploaded_file($elementValue['tmp_name']);
        } else {
            return false;
        }
    }
function _ruleIsUploadedFile ( $ elementValue ) { if ( ( isset ( $ elementValue [ 'error' ] ) && $ elementValue [ 'error' ] == 0 ) || ( ! empty ( $ elementValue [ 'tmp_name' ] ) && $ elementValue [ 'tmp_name' ] != 'none' ) ) { return is_uploaded_file ( $ elementValue [ 'tmp_name' ] ) ; } else { return false ; } }
Checks if the given element contains an uploaded file

@param     array     Uploaded file info (from $_FILES)
@access    private
@return    bool      true if file has been uploaded, false otherwise
Checks if the given element contains an uploaded file