Bric::Dist::Action::HTMLClean - Class to Clean up and reformat HTML files.
$Revision: 1.8 $
$Date: 2003/02/18 06:46:47 $
use Bric::Dist::Action::HTMLClean;
my $id = 1; # Assume that this is an HTMLClean action.
# This line will automatically instantiate the correct subclass.
my $action = Bric::Dist::Action->lookup({ id => $id });
# Perform the action on a list of resources.
action = $action->do_it($resources_href);
# Undo the action on a list of resources.
action = $action->undo_it($resources_href);
This subclass of Bric::Dist::Action can be used to clean up and reformat HTML pages. No additional properties are required, though we may choose to add more later.
Inherited from Bric::Dist::Action.
Dummy method to prevent wasting time trying to AUTOLOAD DESTROY.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
See Bric::Dist::Action.
See Bric::Dist::Action.
Cleans the HTML files for a given job and server type.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
NONE.
Deletes all attributes from this Bric::Dist::Action::HTMLClean instance. Called by Bric::Dist::Action::set_type() above so that all the attributes can be cleared before reblessing the action into a different action subclass.
Throws:
Problems retrieving fields.
Incorrect number of args to Bric::_set().
Bric::set() - Problems setting fields.
Unable to connect to database.
Unable to prepare SQL statement.
Unable to execute SQL statement.
Unable to bind to columns to statement handle.
Unable to fetch row from statement handle.
Side Effects: NONE.
Notes: NONE.
NONE.
NONE.
David Wheeler <david@wheeler.net>