public/wordpress/wp-content/plugins/backupbuddy/lib/zipbuddy/zbzipproc.php
/**
		 *	create()
		 *	
		 *	A function that creates an archive file
		 *	Always cleans up after itself
		 *	
		 *	The $excludes will be a list or relative path excludes if the $listmaker object is NULL otehrwise
		 *	will be absolute path excludes and relative path excludes can be had from the $listmaker object
		 *	
		 *	@param		string	$zip			Full path & filename of ZIP Archive file to create
		 *	@param		string	$dir			Full path of directory to add to ZIP Archive file
		 *	@parame		array	$excludes		List of either absolute path exclusions or relative exclusions
		 *	@param		string	$tempdir		Full path of directory for temporary usage
		 *	@param		object	$listmaker		The object from which we can get an inclusions list
		 *	@return		bool					True if the creation was successful, false otherwise
		 *
		 */
create()

A function that creates an archive file
Always cleans up after itself

The $excludes will be a list or relative path excludes if the $listmaker object is NULL otehrwise
will be absolute path excludes and relative path excludes can be had from the $listmaker object


create () A function that creates an archive file Always cleans up after itself The $excludes will be a list or relative path excludes if the $listmaker object is NULL otehrwise will be absolute path excludes and relative path excludes can be had from the $listmaker object
public function create( $zip, $dir, $excludes, $tempdir, $listmaker = NULL ) {
			$result = false;
			switch ( $this->get_os_type() ) {
				case self::OS_TYPE_NIX:
					$result = $this->create_linux( $zip, $dir, $excludes, $tempdir, $listmaker );
					break;
				case self::OS_TYPE_WIN:
					$result = $this->create_windows( $zip, $dir, $excludes, $tempdir, $listmaker );
					break;
				default:
					$result = false;
			}
			return $result;
		}
public function create ( $ zip , $ dir , $ excludes , $ tempdir , $ listmaker = NULL ) { $ result = false ; switch ( $ this -> get_os_type ( ) ) { case self :: OS_TYPE_NIX : $ result = $ this -> create_linux ( $ zip , $ dir , $ excludes , $ tempdir , $ listmaker ) ; break ; case self :: OS_TYPE_WIN : $ result = $ this -> create_windows ( $ zip , $ dir , $ excludes , $ tempdir , $ listmaker ) ; break ; default : $ result = false ; } return $ result ; }
create()
create ()