| KSx-IndexManager documentation | view source | Contained in the KSx-IndexManager distribution. |
KSx::IndexManager::Plugin - base class for IndexManager plugins
package KSx::IndexManager::Plugin::Mine;
use base qw(KSx::IndexManager::Plugin);
sub after_new {
my ($plugin, $self) = @_;
# do something with $self
}
Create a new plugin. This is called for you automatically and you should not need to use it.
Called when creating a new Manager. before_new is passed the hashref
argument to new, and after_new is passed the newly created Manager.
Called with the Manager object and a reference to the path as a string.
Called when adding a document to the invindex. Both methods are passed the Manager and the object being added.
| KSx-IndexManager documentation | view source | Contained in the KSx-IndexManager distribution. |