protected function extractZip($srcPath, $extractToDir)
    {
        $zip = new ZipArchive();
        $r = $zip->open($srcPath);
        if($r) {
            $zip->extractTo($extractToDir);
            $zip->close();             
        }        
    }