Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 49... Línea 49...
49
/**
49
/**
50
 * Constant that defines the 'Show all' page size.
50
 * Constant that defines the 'Show all' page size.
51
 */
51
 */
52
define('TABLE_SHOW_ALL_PAGE_SIZE', 5000);
52
define('TABLE_SHOW_ALL_PAGE_SIZE', 5000);
Línea -... Línea 53...
-
 
53
 
53
 
54
use core\dataformat;
Línea 54... Línea 55...
54
use core_table\local\filter\filterset;
55
use core_table\local\filter\filterset;
55
 
56
 
56
/**
57
/**
Línea 2313... Línea 2314...
2313
 
2314
 
2314
        if (ob_get_length()) {
2315
        if (ob_get_length()) {
2315
            throw new coding_exception("Output can not be buffered before instantiating table_dataformat_export_format");
2316
            throw new coding_exception("Output can not be buffered before instantiating table_dataformat_export_format");
Línea 2316... Línea 2317...
2316
        }
2317
        }
2317
 
-
 
2318
        $classname = 'dataformat_' . $dataformat . '\writer';
-
 
2319
        if (!class_exists($classname)) {
-
 
2320
            throw new coding_exception("Unable to locate dataformat/$dataformat/classes/writer.php");
-
 
Línea 2321... Línea 2318...
2321
        }
2318
 
2322
        $this->dataformat = new $classname;
2319
        $this->dataformat = dataformat::get_format_instance($dataformat);
Línea 2323... Línea 2320...
2323
 
2320