Steve Purkis > Pangloss-0.06 > Pangloss::Segment::LoadTerm

Download:
Pangloss-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Pangloss::Segment::LoadTerm - load term from an OpenFrame::Request.

SYNOPSIS ^

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

DESCRIPTION ^

This class inherits its interface from Pipeline::Segment.

METHODS ^

$term = $obj->dispatch();

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

$term = $obj->new_term_from_args( \%args );

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

    new_term_name
    new_term_notes
    new_term_concept
    new_term_language

Returns undef if no useable keys were present.

AUTHOR ^

Steve Purkis <spurkis@quiup.com>

SEE ALSO ^

Pipeline::Segment, Pangloss::Term

syntax highlighting: