mirror of
https://github.com/splitbrain/php-archive.git
synced 2025-07-10 17:36:27 +02:00
1466 lines
37 KiB
HTML
1466 lines
37 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>Class splitbrain\PHPArchive\Tar</title>
|
|
|
|
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="left">
|
|
<div id="menu">
|
|
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
|
|
|
<div id="groups">
|
|
<h3>Namespaces</h3>
|
|
<ul>
|
|
<li class="active">
|
|
<a href="namespace-splitbrain.html">
|
|
splitbrain<span></span>
|
|
</a>
|
|
|
|
<ul>
|
|
<li class="active">
|
|
<a href="namespace-splitbrain.PHPArchive.html">
|
|
PHPArchive </a>
|
|
|
|
</li>
|
|
</ul></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
|
|
<div id="elements">
|
|
<h3>Classes</h3>
|
|
<ul>
|
|
<li><a href="class-splitbrain.PHPArchive.Archive.html">Archive</a></li>
|
|
<li><a href="class-splitbrain.PHPArchive.FileInfo.html">FileInfo</a></li>
|
|
<li class="active"><a href="class-splitbrain.PHPArchive.Tar.html">Tar</a></li>
|
|
<li><a href="class-splitbrain.PHPArchive.Zip.html">Zip</a></li>
|
|
</ul>
|
|
|
|
|
|
|
|
<h3>Exceptions</h3>
|
|
<ul>
|
|
<li><a href="class-splitbrain.PHPArchive.ArchiveCorruptedException.html">ArchiveCorruptedException</a></li>
|
|
<li><a href="class-splitbrain.PHPArchive.ArchiveIllegalCompressionException.html">ArchiveIllegalCompressionException</a></li>
|
|
<li><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">ArchiveIOException</a></li>
|
|
<li><a href="class-splitbrain.PHPArchive.FileInfoException.html">FileInfoException</a></li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="splitter"></div>
|
|
|
|
<div id="right">
|
|
<div id="rightInner">
|
|
<form id="search">
|
|
<input type="hidden" name="cx" value="">
|
|
<input type="hidden" name="ie" value="UTF-8">
|
|
<input type="text" name="q" class="text" placeholder="Search">
|
|
</form>
|
|
|
|
<div id="navigation">
|
|
<ul>
|
|
<li>
|
|
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="namespace-splitbrain.PHPArchive.html" title="Summary of splitbrain\PHPArchive"><span>Namespace</span></a>
|
|
</li>
|
|
<li class="active">
|
|
<span>Class</span> </li>
|
|
</ul>
|
|
<ul>
|
|
</ul>
|
|
<ul>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="content" class="class">
|
|
<h1>Class Tar</h1>
|
|
|
|
|
|
<div class="description">
|
|
<p>Class Tar</p>
|
|
|
|
<p>Creates or extracts Tar archives. Supports gz and bzip compression</p>
|
|
|
|
<p>Long pathnames (>100 chars) are supported in POSIX ustar and GNU longlink formats.</p>
|
|
</div>
|
|
|
|
<dl class="tree">
|
|
<dd style="padding-left:0px">
|
|
<a href="class-splitbrain.PHPArchive.Archive.html"><span>splitbrain\PHPArchive\Archive</span></a>
|
|
|
|
|
|
|
|
</dd>
|
|
<dd style="padding-left:30px">
|
|
<img src="resources/inherit.png" alt="Extended by">
|
|
<b><span>splitbrain\PHPArchive\Tar</span></b>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
|
|
<b>Namespace:</b> <a href="namespace-splitbrain.html">splitbrain</a>\<a href="namespace-splitbrain.PHPArchive.html">PHPArchive</a><br>
|
|
<b>Package:</b> splitbrain\PHPArchive<br>
|
|
|
|
<b>License:</b>
|
|
<a href="MIT">MIT</a><br>
|
|
<b>Author:</b>
|
|
Andreas Gohr <a href="mailto:andi@splitbrain.org">andi@splitbrain.org</a><br>
|
|
<b>Located at</b> <a href="source-class-splitbrain.PHPArchive.Tar.html#5-822" title="Go to source code">Tar.php</a>
|
|
<br>
|
|
</div>
|
|
|
|
|
|
|
|
<table class="summary methods" id="methods">
|
|
<caption>Methods summary</caption>
|
|
<tr data-order="setCompression" id="_setCompression">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setCompression">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#31-48" title="Go to source code">setCompression</a>( <span>integer <var>$level</var> = <span class="php-num">9</span></span>, <span>integer <var>$type</var> = Archive::COMPRESS_AUTO</span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Sets the compression to use</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Sets the compression to use</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$level</var></dt>
|
|
<dd>Compression level (0 to 9)</dd>
|
|
<dt><var>$type</var></dt>
|
|
<dd>Type of compression to use (use COMPRESS_* constants)</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIllegalCompressionException.html">splitbrain\PHPArchive\ArchiveIllegalCompressionException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="open" id="_open">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_open">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#50-80" title="Go to source code">open</a>( <span>string <var>$file</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Open an existing TAR file for reading</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Open an existing TAR file for reading</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$file</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIllegalCompressionException.html">splitbrain\PHPArchive\ArchiveIllegalCompressionException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="contents" id="_contents">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_contents">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#82-103" title="Go to source code">contents</a>( )</code>
|
|
|
|
<div class="description short">
|
|
<p>Read the contents of a TAR archive</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Read the contents of a TAR archive</p>
|
|
|
|
<p>This function lists the files stored in the archive</p>
|
|
|
|
<p>The archive is closed afer reading the contents, because rewinding is not possible in bzip2 streams.
|
|
Reopen the file with open() again if you want to do additional operations</p>
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a>[]</code>
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveCorruptedException.html">splitbrain\PHPArchive\ArchiveCorruptedException</a></code>
|
|
</div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
FileInfo[]<br>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="yieldContents" id="_yieldContents">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_yieldContents">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#105-138" title="Go to source code">yieldContents</a>( )</code>
|
|
|
|
<div class="description short">
|
|
<p>Read the contents of a TAR archive and return each entry using yield
|
|
for memory efficiency.</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Read the contents of a TAR archive and return each entry using yield
|
|
for memory efficiency.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveCorruptedException.html">splitbrain\PHPArchive\ArchiveCorruptedException</a></code>
|
|
</div>
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.Tar.html#_contents">splitbrain\PHPArchive\Tar::contents()</a></code><br>
|
|
</div>
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
FileInfo[]<br>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="readCurrentEntry" id="_readCurrentEntry">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_readCurrentEntry">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#140-157" title="Go to source code">readCurrentEntry</a>( <span>integer <var>$length</var> = PHP_INT_MAX</span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Reads content of a current archive entry.</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Reads content of a current archive entry.</p>
|
|
|
|
<p>Works only when iterating trough the archive using the generator returned
|
|
by the yieldContents().</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$length</var></dt>
|
|
<dd>maximum number of bytes to read</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
string
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="extract" id="_extract">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_extract">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#159-252" title="Go to source code">extract</a>( <span>string <var>$outdir</var></span>, <span>integer|string <var>$strip</var> = <span class="php-quote">''</span></span>, <span>string <var>$exclude</var> = <span class="php-quote">''</span></span>, <span>string <var>$include</var> = <span class="php-quote">''</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Extract an existing TAR archive</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Extract an existing TAR archive</p>
|
|
|
|
<p>The $strip parameter allows you to strip a certain number of path components from the filenames
|
|
found in the tar file, similar to the --strip-components feature of GNU tar. This is triggered when
|
|
an integer is passed as $strip.
|
|
Alternatively a fixed string prefix may be passed in $strip. If the filename matches this prefix,
|
|
the prefix will be stripped. It is recommended to give prefixes with a trailing slash.</p>
|
|
|
|
<p>By default this will extract all files found in the archive. You can restrict the output using the $include
|
|
and $exclude parameter. Both expect a full regular expression (including delimiters and modifiers). If
|
|
$include is set only files that match this expression will be extracted. Files that match the $exclude
|
|
expression will never be extracted. Both parameters can be used in combination. Expressions are matched against
|
|
stripped filenames as described above.</p>
|
|
|
|
<p>The archive is closed afer reading the contents, because rewinding is not possible in bzip2 streams.
|
|
Reopen the file with open() again if you want to do additional operations</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$outdir</var></dt>
|
|
<dd>the target directory for extracting</dd>
|
|
<dt><var>$strip</var></dt>
|
|
<dd>either the number of path components or a fixed prefix to strip</dd>
|
|
<dt><var>$exclude</var></dt>
|
|
<dd>a regular expression of files to exclude</dd>
|
|
<dt><var>$include</var></dt>
|
|
<dd>a regular expression of files to include</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a>[]</code>
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveCorruptedException.html">splitbrain\PHPArchive\ArchiveCorruptedException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="create" id="_create">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_create">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#254-289" title="Go to source code">create</a>( <span>string <var>$file</var> = <span class="php-quote">''</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Create a new TAR file</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Create a new TAR file</p>
|
|
|
|
<p>If $file is empty, the tar file will be created in memory</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$file</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIllegalCompressionException.html">splitbrain\PHPArchive\ArchiveIllegalCompressionException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addFile" id="_addFile">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addFile">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#291-356" title="Go to source code">addFile</a>( <span>string <var>$file</var></span>, <span>string|<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a></code> <var>$fileinfo</var> = <span class="php-quote">''</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Add a file to the current TAR archive using an existing file in the filesystem</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Add a file to the current TAR archive using an existing file in the filesystem</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$file</var></dt>
|
|
<dd>path to the original file</dd>
|
|
<dt><var>$fileinfo</var></dt>
|
|
<dd>either the name to us in archive (string) or a FileInfo oject with all meta data, empty to take from original</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveCorruptedException.html">splitbrain\PHPArchive\ArchiveCorruptedException</a></code><br>when the file changes while reading it, the archive will be corrupt and should be deleted<br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>there was trouble reading the given file, it was not added<br>
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfoException.html">splitbrain\PHPArchive\FileInfoException</a></code><br>trouble reading file info, it was not added
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addData" id="_addData">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addData">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#358-389" title="Go to source code">addData</a>( <span>string|<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a></code> <var>$fileinfo</var></span>, <span>string <var>$data</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Add a file to the current TAR archive using the given $data as content</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Add a file to the current TAR archive using the given $data as content</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$fileinfo</var></dt>
|
|
<dd>either the name to us in archive (string) or a FileInfo oject with all meta data</dd>
|
|
<dt><var>$data</var></dt>
|
|
<dd>binary content of the file to add</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="close" id="_close">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_close">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#391-431" title="Go to source code">close</a>( )</code>
|
|
|
|
<div class="description short">
|
|
<p>Add the closing footer to the archive if in write mode, close all file handles</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Add the closing footer to the archive if in write mode, close all file handles</p>
|
|
|
|
<p>After a call to this function no more data can be added to the archive, for
|
|
read access no reading is allowed anymore</p>
|
|
|
|
<p>"Physically, an archive consists of a series of file entries terminated by an end-of-archive entry, which
|
|
consists of two 512 blocks of zero bytes"</p>
|
|
|
|
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code>
|
|
</div>
|
|
|
|
<h4>Link</h4>
|
|
<div class="list">
|
|
<a href="http://www.gnu.org/software/tar/manual/html_chapter/tar_8.html#SEC134">http://www.gnu.org/software/tar/manual/html_chapter/tar_8.html#SEC134</a><br>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getArchive" id="_getArchive">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getArchive">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#433-454" title="Go to source code">getArchive</a>( )</code>
|
|
|
|
<div class="description short">
|
|
<p>Returns the created in-memory archive data</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Returns the created in-memory archive data</p>
|
|
|
|
<p>This implicitly calls close() on the Archive</p>
|
|
|
|
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="save" id="_save">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_save">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#456-475" title="Go to source code">save</a>( <span>string <var>$file</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Save the created in-memory archive data</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Save the created in-memory archive data</p>
|
|
|
|
<p>Note: It more memory effective to specify the filename in the create() function and
|
|
let the library work on the new file directly.</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$file</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code><br>
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIllegalCompressionException.html">splitbrain\PHPArchive\ArchiveIllegalCompressionException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="readbytes" id="_readbytes">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_readbytes">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#477-494" title="Go to source code">readbytes</a>( <span>integer <var>$length</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Read from the open file pointer</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Read from the open file pointer</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$length</var></dt>
|
|
<dd>bytes to read</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
string
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="writebytes" id="_writebytes">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_writebytes">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#496-519" title="Go to source code">writebytes</a>( <span>string <var>$data</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Write to the open filepointer or memory</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Write to the open filepointer or memory</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$data</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
integer<br>number of bytes written
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="skipbytes" id="_skipbytes">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_skipbytes">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#521-544" title="Go to source code">skipbytes</a>( <span>integer <var>$bytes</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Skip forward in the open file pointer</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Skip forward in the open file pointer</p>
|
|
|
|
<p>This is basically a wrapper around seek() (and a workaround for bzip2)</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$bytes</var></dt>
|
|
<dd>seek to this position</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="writeFileHeader" id="_writeFileHeader">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_writeFileHeader">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#546-563" title="Go to source code">writeFileHeader</a>( <span><code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a></code> <var>$fileinfo</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Write the given file meta data as header</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Write the given file meta data as header</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$fileinfo</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="writeRawFileHeader" id="_writeRawFileHeader">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_writeRawFileHeader">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#565-621" title="Go to source code">writeRawFileHeader</a>( <span>string <var>$name</var></span>, <span>integer <var>$uid</var></span>, <span>integer <var>$gid</var></span>, <span>integer <var>$perm</var></span>, <span>integer <var>$size</var></span>, <span>integer <var>$mtime</var></span>, <span>string <var>$typeflag</var> = <span class="php-quote">''</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Write a file header to the stream</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Write a file header to the stream</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$name</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$uid</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$gid</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$perm</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$size</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$mtime</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$typeflag</var></dt>
|
|
<dd>Set to '5' for directories</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIOException.html">splitbrain\PHPArchive\ArchiveIOException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="parseHeader" id="_parseHeader">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
array|false
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_parseHeader">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#623-688" title="Go to source code">parseHeader</a>( <span>string <var>$block</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Decode the given tar file header</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Decode the given tar file header</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$block</var></dt>
|
|
<dd>a 512 byte block containing the header data</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
array|false<br>returns false when this was a null block
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveCorruptedException.html">splitbrain\PHPArchive\ArchiveCorruptedException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="header2fileinfo" id="_header2fileinfo">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_header2fileinfo">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#690-710" title="Go to source code">header2fileinfo</a>( <span> <var>$header</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Creates a FileInfo object from the given parsed header</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Creates a FileInfo object from the given parsed header</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$header</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.FileInfo.html">splitbrain\PHPArchive\FileInfo</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="compressioncheck" id="_compressioncheck">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_compressioncheck">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#712-727" title="Go to source code">compressioncheck</a>( <span> <var>$comptype</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Checks if the given compression type is available and throws an exception if not</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Checks if the given compression type is available and throws an exception if not</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$comptype</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code><a href="class-splitbrain.PHPArchive.ArchiveIllegalCompressionException.html">splitbrain\PHPArchive\ArchiveIllegalCompressionException</a></code>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="filetype" id="_filetype">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_filetype">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#729-761" title="Go to source code">filetype</a>( <span>string <var>$file</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Guesses the wanted compression from the given file</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Guesses the wanted compression from the given file</p>
|
|
|
|
<p>Uses magic bytes for existing files, the file extension otherwise</p>
|
|
|
|
<p>You don't need to call this yourself. It's used when you pass Archive::COMPRESS_AUTO somewhere</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$file</var></dt>
|
|
<dd></dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
integer
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="numberDecode" id="_numberDecode">
|
|
|
|
<td class="attributes"><code>
|
|
public static
|
|
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_numberDecode">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#763-792" title="Go to source code">numberDecode</a>( <span>string <var>$field</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Decodes numeric values according to the
|
|
https://www.gnu.org/software/tar/manual/html_node/Extensions.html#Extensions
|
|
(basically with support for big numbers)</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Decodes numeric values according to the
|
|
https://www.gnu.org/software/tar/manual/html_node/Extensions.html#Extensions
|
|
(basically with support for big numbers)</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$field</var></dt>
|
|
<dd>$return int</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="numberEncode" id="_numberEncode">
|
|
|
|
<td class="attributes"><code>
|
|
public static
|
|
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_numberEncode">#</a>
|
|
<code><a href="source-class-splitbrain.PHPArchive.Tar.html#794-821" title="Go to source code">numberEncode</a>( <span>integer <var>$value</var></span>, <span>integer <var>$length</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
<p>Encodes numeric values according to the
|
|
https://www.gnu.org/software/tar/manual/html_node/Extensions.html#Extensions
|
|
(basically with support for big numbers)</p>
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
<p>Encodes numeric values according to the
|
|
https://www.gnu.org/software/tar/manual/html_node/Extensions.html#Extensions
|
|
(basically with support for big numbers)</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$value</var></dt>
|
|
<dd></dd>
|
|
<dt><var>$length</var></dt>
|
|
<dd>field length</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
string
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="summary inherited">
|
|
<caption>Methods inherited from <a href="class-splitbrain.PHPArchive.Archive.html#methods">splitbrain\PHPArchive\Archive</a></caption>
|
|
<tr>
|
|
<td><code>
|
|
<a href="class-splitbrain.PHPArchive.Archive.html#_setCallback">setCallback()</a>
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table class="summary constants" id="constants">
|
|
<caption>Constants summary</caption>
|
|
<tr data-order="READ_CHUNK_SIZE" id="READ_CHUNK_SIZE">
|
|
|
|
<td class="attributes"><code>integer</code></td>
|
|
<td class="name">
|
|
<code>
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#18" title="Go to source code"><b>READ_CHUNK_SIZE</b></a>
|
|
</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#READ_CHUNK_SIZE" class="anchor">#</a>
|
|
<code><span class="php-num">1048576</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="summary inherited">
|
|
<caption>Constants inherited from <a href="class-splitbrain.PHPArchive.Archive.html#constants">splitbrain\PHPArchive\Archive</a></caption>
|
|
<tr>
|
|
<td><code>
|
|
<a href="class-splitbrain.PHPArchive.Archive.html#COMPRESS_AUTO"><b>COMPRESS_AUTO</b></a>,
|
|
<a href="class-splitbrain.PHPArchive.Archive.html#COMPRESS_BZIP"><b>COMPRESS_BZIP</b></a>,
|
|
<a href="class-splitbrain.PHPArchive.Archive.html#COMPRESS_GZIP"><b>COMPRESS_GZIP</b></a>,
|
|
<a href="class-splitbrain.PHPArchive.Archive.html#COMPRESS_NONE"><b>COMPRESS_NONE</b></a>
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<table class="summary properties" id="properties">
|
|
<caption>Properties summary</caption>
|
|
<tr data-order="file" id="$file">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#20" title="Go to source code"><var>$file</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$file" class="anchor">#</a>
|
|
<code><span class="php-quote">''</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="comptype" id="$comptype">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#21" title="Go to source code"><var>$comptype</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$comptype" class="anchor">#</a>
|
|
<code>Archive::COMPRESS_AUTO</code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="complevel" id="$complevel">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#22" title="Go to source code"><var>$complevel</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$complevel" class="anchor">#</a>
|
|
<code><span class="php-num">9</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="fh" id="$fh">
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#23" title="Go to source code"><var>$fh</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$fh" class="anchor">#</a>
|
|
<code></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="memory" id="$memory">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#24" title="Go to source code"><var>$memory</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$memory" class="anchor">#</a>
|
|
<code><span class="php-quote">''</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="closed" id="$closed">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#25" title="Go to source code"><var>$closed</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$closed" class="anchor">#</a>
|
|
<code><span class="php-keyword1">true</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="writeaccess" id="$writeaccess">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#26" title="Go to source code"><var>$writeaccess</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$writeaccess" class="anchor">#</a>
|
|
<code><span class="php-keyword1">false</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="position" id="$position">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#27" title="Go to source code"><var>$position</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$position" class="anchor">#</a>
|
|
<code><span class="php-num">0</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="contentUntil" id="$contentUntil">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#28" title="Go to source code"><var>$contentUntil</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$contentUntil" class="anchor">#</a>
|
|
<code><span class="php-num">0</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr data-order="skipUntil" id="$skipUntil">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-splitbrain.PHPArchive.Tar.html#29" title="Go to source code"><var>$skipUntil</var></a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
<td class="value">
|
|
<div>
|
|
<a href="#$skipUntil" class="anchor">#</a>
|
|
<code><span class="php-num">0</span></code>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="summary inherited">
|
|
<caption>Properties inherited from <a href="class-splitbrain.PHPArchive.Archive.html#properties">splitbrain\PHPArchive\Archive</a></caption>
|
|
<tr>
|
|
<td><code>
|
|
<a href="class-splitbrain.PHPArchive.Archive.html#$callback"><var>$callback</var></a>
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="resources/combined.js?58699d70ee1015ed63e509c64f4dd9d3b29ddbbe"></script>
|
|
<script src="elementlist.js?d1556c44b5531910445709dcbedf0d7a38d1a058"></script>
|
|
</body>
|
|
</html>
|