示例#1
0
function dump_stats()
{
    $processor = new FolderProcessor('tomo1');
    print "year;month;day;block;namespace;tablename;count\n";
    $processor->traverse_folder('../cache.bopi', stats_process_iteration);
}
function dump_data($working_folder, $tomo)
{
    $processor = new FolderProcessor('tomo' . $tomo);
    $processor->traverse_folder($working_folder, dump_data_iteration);
}
示例#3
0
function clean_images()
{
    $processor = new FolderProcessor('tomo1');
    $processor->traverse_folder('../cache.bopi', clean_images_iteration);
}