phpDocumentor ArchiveUpload
Classes
[ class tree: ArchiveUpload ] [ index: ArchiveUpload ] [ all elements ]

Class: ArchiveUploadHelper

Source Location: /modules/archiveupload/classes/ArchiveUploadHelper.class

Class ArchiveUploadHelper

Class Overview

A helper class for the ArchiveUpload module

Located in /modules/archiveupload/classes/ArchiveUploadHelper.class [line 35]



		
		
		
		

Methods

[ Top ]
Method Summary
string   findUnzipBinary()   Try to find a valid unzip binary.
array   testBinary()   Test if the given path has a working unzip binary.

[ Top ]
Methods
findUnzipBinary  [line 85]

  string findUnzipBinary( )

Try to find a valid unzip binary.


API Tags:
Return:  valid path or null


[ Top ]
testBinary  [line 48]

  array testBinary( string $unzipPath  )

Test if the given path has a working unzip binary.

This is done by calling the binary with the -v flag and making sure it runs properly.

Parameters:
string   $unzipPath:  path to the unzip we are testing

API Tags:
Return:  boolean test successful? string error type or null string unzip output


[ Top ]

Documentation generated on Sat, 21 Nov 2009 04:30:25 -0800 by phpDocumentor 1.3.0RC6