Class Plugin_file_system_non_current_libraries

Description

This class looks for library files (.jar, .so, .dll) that are not of the latest version, or not known at all. Uses resources/current_libraries/*.

Located in /plugins/default/File-System.Non-Current-Libraries.php (line 9)

Plugin
   |
   --Plugin_file_system_non_current_libraries
Variable Summary
Method Summary
void execute ()
void initialize_cache ( &$cache, array $cache)
Variables
mixed $library_cache (line 12)
  • access: private
mixed $valid_file_types = array("jar", "so", "dll") (line 10)
  • access: public

Redefinition of:
Plugin::$valid_file_types
Valid file types that this Plugin can operate on.

Inherited Variables

Inherited from Plugin

Plugin::$context_size
Plugin::$description
Plugin::$filename
Plugin::$file_contents
Plugin::$initialized
Plugin::$is_multi_target
Plugin::$is_valid_filetype
Plugin::$result_list
Methods
execute (line 17)

Executes the plugin to scan a particular file. Uses a cache to speed things up.

void execute ()

Redefinition of:
Plugin::execute()
This function should not be called, since this class is abstract. The execute() function should be overridden by child classes.
initialize_cache (line 70)

This function initializes the cache from a text file that was presumably loaded by a separate process. The file contains a list of jar files that are considered "current". Any jar file that is not in that list is considered non-standard or non-current.

void initialize_cache ( &$cache, array $cache)
  • array $cache: cache array to load data into
  • &$cache

Inherited Methods

Inherited From Plugin

Plugin::Plugin()
Plugin::check_for_java()
Plugin::destructor()
Plugin::execute()
Plugin::run()

Documentation generated on Mon, 28 Apr 2008 12:51:54 -0400 by phpDocumentor 1.4.0a2