SproutCMS

This is the code documentation for the SproutCMS project

class Tar

Archive library tar driver.

Source code (18 results)

/sprout/Controllers/DbToolsController.php   Highlighted file source

Line 147: // Don't start output buffering for some methods
Line 178: ob_start();
Line 281: $start = microtime(true);
Line 283: $time_secs = microtime(true) - $start;
Line 638: ob_start();
Line 648: ob_start();
Line 678: ob_start();
Line 742: $fks[$fk['source_column']][] = "{$fk['target_table']}.{$fk['target_column']}";
Line 843: echo '<form action="SITE/dbtools/importAction" method="post" target="process" onsubmit="$(\'iframe\').show(); $(this).find(\'.action-bar\').remove();">';
Line 1326: 'module-builder' => '/^mt_[0-9]+\.tar\.bz2$/',
Line 1606: echo "<th>Target</th>";
Line 1610: foreach ($routes as $rule => $target) {
Line 1612: $target = Enc::html(json_encode($target, JSON_UNESCAPED_SLASHES));
Line 1616: echo "<td>{$target}</td>";
Line 1813: shell_exec("rm -f {$temp}/mt_*.tar.bz2");
Line 1856: echo shell_exec("cd {$temp}; tar -cjvf mt_{$rand}.tar.bz2 {$module_name}");
Line 1862: echo "<p><a href=\"SITE/dbtools/gettempfile/module-builder/mt_{$rand}.tar.bz2/sprout_module_{$_POST['sname']}_{$_POST['module_type']}.tar.bz2\">Download module</a></p>";
Line 2076: $target_table = Inflector::plural(substr($f, 0, -3));
Line 2078: $items = '{"func": "Pdb::lookup", "args": ["' . Enc::js($target_table) . '"]}';
Line 2218: echo shell_exec("cd {$temp}; tar -cjvf mt_{$rand}.tar.bz2 {$module_name}");
Line 2223: echo "<div class=\"action-bar\"><a href=\"SITE/dbtools/gettempfile/module-builder/mt_{$rand}.tar.bz2/sprout_module.tar.bz2\" class=\"button icon-after icon-save\">Download module</a></div>";
Line 2839: ob_start();

/sprout/Helpers/DocImport/DocImportDOCX.php   Highlighted file source

Line 129: // Handle tags like w:bookmarkStart, as well as esoteric ones like w:moveToRangeEnd
Line 632: $target = $elem->getAttribute('Target');
Line 633: $out[$id] = $target;

/sprout/Helpers/Drivers/Archive/Tar.php   Highlighted file source

Line 22: * Archive library tar driver.
Line 24: class Tar implements ArchiveDriver
Line 41: $tarfile = implode('', $this->data).pack('a1024', ''); // EOF
Line 45: return $tarfile;
Line 48: if (substr($filename, -3) != 'tar')
Line 50: // Append tar extension
Line 51: $filename .= '.tar';
Line 60: // Write the tar file
Line 61: $return = fwrite($file, $tarfile);
Line 94: pack('a6', 'ustar'). // USTAR indicator
Line 95: pack('a2', chr(32)). // USTAR version
Line 112: } // End Archive_Tar_Driver Class

/sprout/Helpers/Lnk.php   Highlighted file source

Line 27: * The class name needs to start with "LinkSpec" too.
Line 105: * @return string Target URL
Line 126: * @return string|null The target URL or null if the spec is empty or if a RowMissingException

/sprout/Helpers/Locales/LocaleInfoBGR.php   Highlighted file source

Line 26: 'Veliko Tarnovo',
Line 46: 'Stara Zagora',
Line 47: 'Targovishte',

/sprout/Helpers/Locales/LocaleInfoCPV.php   Highlighted file source

Line 25: 'CA' => 'Santa Catarina',
Line 26: 'CF' => 'Santa Catarina do Fogo',
Line 43: 'TA' => 'Tarrafal',
Line 44: 'TS' => 'Tarrafal de São Nicolau',

/sprout/Helpers/Locales/LocaleInfoMLT.php   Highlighted file source

Line 23: 'Attard',
Line 57: 'Mtarfa',
Line 81: 'Tarxien',

A total of 62 lines in 18 files were found