Steve Purkis > Pangloss > Pangloss::Segment::LoadLanguage

Download:
Pangloss-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Pangloss::Segment::LoadLanguage - load language from an OpenFrame::Request.

SYNOPSIS ^

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

DESCRIPTION ^

This class inherits its interface from Pipeline::Segment.

METHODS ^

$language = $obj->dispatch();

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

$language = $obj->new_language_from_args( \%args );

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

    new_language_name
    new_language_notes
    new_language_iso_code
    new_language_direction

Returns undef if no useable keys were present.

AUTHOR ^

Steve Purkis <spurkis@quiup.com>

SEE ALSO ^

Pipeline::Segment, Pangloss::Language

syntax highlighting: