API17

Difference between revisions of "JArchiveZip::checkZipData"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Checks to see if the data is a valid ZIP file.  
 
Checks to see if the data is a valid ZIP file.  
  
{{Description:JArchiveZip::checkZipData}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JArchiveZip::checkZipData|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JArchiveZip::checkZipData (&$data)
+
public function checkZipData (&$data)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/archive/zip.php (line 154)
 
* see source code in [[jplatform:filesystem/archive/zip.php#cl-154|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JArchiveZip::checkZipData source code''' on [[jplatform:filesystem/archive/zip.php#cl-146|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::checkZipData|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JArchiveZip|JArchiveZip]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[JArchiveZip/11.1|JArchiveZip]]
+
* [[API17:JArchiveZip::checkZipData|Other versions of JArchiveZip::checkZipData]]
* [[JArchiveZip::checkZipData|Other versions of this method]]
+
 
{{SeeAlso:JArchiveZip::checkZipData}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JArchiveZip::checkZipData
 
category=JArchiveZip::checkZipData
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::checkZipData]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:21, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JArchiveZip::checkZipData[edit]

Description[edit]

Checks to see if the data is a valid ZIP file.


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 Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]