Name

CatalystX::Usul::File::ResultSource - A source of result sets for a given schema

Version

0.3.$Revision: 576 $

Synopsis

use CatalystX::Usul::File;

$attrs = { schema_attributes => { ... } };

$result_source = CatalystX::Usul::File->new( $app, $attrs );

$result_source->resultset( $file, $lang );

Description

Provides new result sets for a given schema. Ideas robbed from DBIx::Class

Subroutines/Methods

new

Constructor's arguments are the application object and a hash ref of schema attributes. Creates a new instance of the schema class which defaults to CatalystX::Usul::File::Schema

resultset

Sets the schema's file and lang attributes from the optional parameters. Creates and returns a new CatalystX::Usul::File::Resultset object

storage

Returns the storage handle for the current schema

Diagnostics

None

Configuration and Environment

None

Dependencies

CatalystX::Usul
CatalystX::Usul::File::Schema

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2008 Peter Flanigan. All rights reserved

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

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE