Contentment::Node::Manager - Node collection manager and utility
This class defines the object responsible for determining what node collection is in use by the current request.
As of this writing, the implementation is simplistic and always defines the node collection created during install as the current one.
This class supports the following methods
Fetch the node collection in use for thise request. In general, you probably don't want to mess with this object too much directly. The internals are kind of icky, which is why the Contentment::Node::Manager class exists after all.
This method attaches the given revision to the node collection. Any other revisions from the same node will be removed from the node collection.
Removes this revision from the node collection. This will make the revision (and entire node) appear to be deleted (as far as most of Contentment is concerned) without actually removing the record from the database.
This class defines the following methods:
This method returns the object by which the Contentment::Node::Manager API may be reached.
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
Copyright 2005 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Contentment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Contentment
CPAN shell
perl -MCPAN -e shell install Contentment
For more information on module installation, please visit the detailed CPAN module installation guide.