backupbuddy_backup/wp-content/plugins/backupbuddy/lib/xzipbuddy/zbzipexec.php
/**
		 *	file_exists()
		 *	
		 *	Tests whether a file (with path) exists in the given zip file
		 *	If leave_open is true then the zip object will be left open for faster checking for subsequent files within this zip
		 *  Note: this is ignored here because it has no meaning in the use of the unzip command
		 *	
		 *	@param		string	$zip_file		The zip file to check
		 *	@param		string	$locate_file	The file to test for
		 *	@param		bool	$leave_open		Optional: True if the zip file should be left open
		 *	@return		bool/array				True if the file is found in the zip and false if not, array for other problem
		 *
		 */


Tests whether a file (with path) exists in the given zip file
If leave_open is true then the zip object will be left open for faster checking for subsequent files within this zip
Note: this is ignored here because it has no meaning in the use of the unzip command

@param          string  $zip_file               The zip file to check
@param          string  $locate_file    The file to test for
@param          bool    $leave_open             Optional: True if the zip file should be left open
@return         bool/array                              True if the file is found in the zip and false if not, array for other problem
Tests whether a file ( with path ) exists in the given zip file If leave_open is true then the zip object will be left open for faster checking for subsequent files within this zip Note : this is ignored here because it has no meaning in the use of the unzip command @param string $zip_file The zip file to check @param string $locate_file The file to test for @param bool $leave_open Optional : True if the zip file should be left open @return bool / array True if the file is found in the zip and false if not array for other problem
public function file_exists( $zip_file, $locate_file, $leave_open = false ) {
			$result = false;
			switch ( $this->get_os_type() ) {
				case self::OS_TYPE_NIX:
					$result = $this->file_exists_generic( $zip_file, $locate_file );
					break;
				case self::OS_TYPE_WIN:
					$result = $this->file_exists_generic( $zip_file, $locate_file );
					break;
				default:
					$result = false;
			}
			return $result;
		}
public function file_exists ( $ zip_file , $ locate_file , $ leave_open = false ) { $ result = false ; switch ( $ this -> get_os_type ( ) ) { case self :: OS_TYPE_NIX : $ result = $ this -> file_exists_generic ( $ zip_file , $ locate_file ) ; break ; case self :: OS_TYPE_WIN : $ result = $ this -> file_exists_generic ( $ zip_file , $ locate_file ) ; break ; default : $ result = false ; } return $ result ; }
file_exists()
file_exists ()