Ioan Rogers > Prophet > Prophet::CLI::RecordCommand

Download:
Prophet-0.751.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  5
Open  2
View/Report Bugs
Module Version: 0.751   Source  

NAME ^

Prophet::CLI::RecordCommand

VERSION ^

version 0.751

METHODS ^

_get_record_object [{ type => 'type' }]

Tries to determine a record class from either the given type argument or the current object's $type attribute.

Returns a new instance of the record class on success, or throws a fatal error with a stack trace on failure.

_load_record

Attempts to load the record specified by the uuid attribute.

Returns the loaded record on success, or throws a fatal error if no record can be found.

_type_to_record_class $type

Takes a type and tries to figure out a record class name from it. Returns 'Prophet::Record' if no better class name is found.

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2009 by Best Practical Solutions.

This is free software, licensed under:

  The MIT (X11) License

BUGS AND LIMITATIONS ^

You can make new bug reports, and view existing ones, through the web interface at https://rt.cpan.org/Public/Dist/Display.html?Name=Prophet.

CONTRIBUTORS ^

syntax highlighting: