API17:JArchiveZip::checkZipData
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JArchiveZip::checkZipData|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JArchiveZip::checkZipData|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function checkZipData (&$data) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True if valid, false if invalid. | |
| − | boolean True if valid, false if invalid. | + | * '''Defined''' on line 154 of libraries/joomla/filesystem/archive/zip.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filesystem/archive/zip.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JArchiveZip::checkZipData source code''' on [[jplatform:filesystem/archive/zip.php#cl-146|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JArchiveZip/11.1|JArchiveZip]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
| + | * [[JArchiveZip::checkZipData|Other versions of JArchiveZip::checkZipData]] | ||
| + | {{SeeAlso:JArchiveZip::checkZipData}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::checkZipData|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JArchiveZip::checkZipData|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::checkZipData]]</noinclude> | <noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::checkZipData]]</noinclude> | ||
Revision as of 20:10, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JArchiveZip::checkZipData
Description
Checks to see if the data is a valid ZIP file.
Description:JArchiveZip::checkZipData [Edit Descripton]
public function checkZipData (&$data)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$data | string | ZIP archive data buffer. |
- Returns boolean True if valid, false if invalid.
- Defined on line 154 of libraries/joomla/filesystem/archive/zip.php
- Since
See also
-
JArchiveZip::checkZipData source code on BitBucket
-
Class JArchiveZip
-
Subpackage Filesystem
- Other versions of JArchiveZip::checkZipData
SeeAlso:JArchiveZip::checkZipData [Edit See Also]
User contributed notes
<CodeExamplesForm />
