NAME

Pangloss::Segment::LoadCategory - load category from an OpenFrame::Request.

SYNOPSIS

  $pipe->add_segment( Pangloss::Segment::LoadCategory->new )

DESCRIPTION

This class inherits its interface from Pipeline::Segment.

METHODS

$category = $obj->dispatch();

attempts to load a category from the stored OpenFrame::Request's arguments.

$category = $obj->new_category_from_args( \%args );

Creates a new category from the hash given. uses the following keys:

    new_category_name
    new_category_notes

Returns undef if no useable keys were present.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pipeline::Segment, Pangloss::Category