public/wordpress/wp-content/plugins/backupbuddy/destinations/stash2/init.php
/* listFiles()
	 *
	 * Get list of files with optional prefix. Returns stashAPI response.
	 *
	 */
listFiles()
Get list of files with optional prefix. Returns stashAPI response.
listFiles () Get list of files with optional prefix . Returns stashAPI response .
public static function listFiles( $settings, $prefix = '', $site_only = false ) {
		$settings = self::_init( $settings );
		$additionalParams = array();
		if ( '' != $prefix ) {
			$additionalParams = array( 'prefix' => $prefix );
		}
		$action = 'files';
		if ( true === $site_only ) {
			$action = 'site-files';
		}
		$files = self::stashAPI( $settings, $action, $additionalParams );
		return $files;
	}
public static function listFiles ( $ settings , $ prefix = '' , $ site_only = false ) { $ settings = self :: _init ( $ settings ) ; $ additionalParams = array ( ) ; if ( '' != $ prefix ) { $ additionalParams = array ( 'prefix' => $ prefix ) ; } $ action = 'files' ; if ( true === $ site_only ) { $ action = 'site-files' ; } $ files = self :: stashAPI ( $ settings , $ action , $ additionalParams ) ; return $ files ; }
listFiles()
 Get list of files with optional prefix.
listFiles () Get list of files with optional prefix .