NAME

CatalystX::CRUD::ModelAdapter::File - filesystem CRUD model adapter

SYNOPSIS

package MyApp::Controller::Foo;
__PACKAGE__->config(
   # ... other config here
   model_adapter => 'CatalystX::CRUD::ModelAdapter::File',
   model_name    => 'MyFile',
);

1;

DESCRIPTION

CatalystX::CRUD::ModelAdapter::File is an example implementation of CatalystX::CRUD::ModelAdapter. It basically proxies for CatalystX::CRUD::Model::File.

METHODS

Only new or overridden methods are documented here.

new_object( controller, context, args )

Implements required method.

fetch( controller, context, args )

Implements required method.

prep_new_object( controller, context, file )

Implements required method.

search( context, args )

Implements required method.

iterator( context, args )

Implements required method.

count( context, args )

Implements required method.

make_query( context, args )

Implements required method.

create( context, file_object )

Implements required CRUD method.

read( context, file_object )

Implements required CRUD method.

update( context, file_object )

Implements required CRUD method.

delete( context, file_object )

Implements required CRUD method.

AUTHOR

Peter Karman, <perl at peknet.com>

BUGS

Please report any bugs or feature requests to bug-catalystx-crud at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-CRUD. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc CatalystX::CRUD

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2008 Peter Karman, all rights reserved.

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