NAME

OpenInteract2::Manage::Website::ThemeDump - Dump a theme to a themeball

SYNOPSIS

#!/usr/bin/perl

use strict;
use OpenInteract2::Manage;

my $website_dir = '/home/httpd/mysite';
my $task = OpenInteract2::Manage->new(
                     'dump_theme', { website_dir => $website_dir,
                                     theme_id    => 5,
                                     theme_file  => 'my_themeball' } );
my $status = $task->execute;
print "Dumped?  $status->{is_ok}\n",
      "Filename $status->{filename}\n",
      "$status->{message}\n";
}

DESCRIPTION

This task dumps a theme to a "themeball" which can be installed to any other OpenInteract system.

REQUIRED OPTIONS

In addition to 'website_dir' you must define:

theme_id=$

ID of theme you want to dump

theme_file=$

Filename for dumped theme (will be overwritten if it exists).

STATUS MESSAGES

In addition to the normal entries, each status hashref includes:

filename

Set to the filename used for the dump; empty if the action failed.

COPYRIGHT

Copyright (c) 2002-2003 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>