NAME

Catalyst::Controller::DBIC::API::StoredResultSource - Provides acessors for static resources

VERSION

version 2.001002

PUBLIC_ATTRIBUTES

class is: ro, isa: Str

class is the name of the class that is the model for this controller

stored_result_source is: ro, isa: "ResultSource" in Catalyst::Controller::DBIC::API::Types

This is the result source for the controller

stored_model is: ro, isa: "Model" in Catalyst::Controller::DBIC::API::Types

This is the model for the controller

PUBLIC_METHODS

check_has_column

Convenience method for checking if the column exists in the result source

check_has_relation

check_has_relation meticulously delves into the result sources relationships to determine if the provided relation is valid. Accepts a relation name, and optional HashRef indicating a nested relationship. Iterates, and recurses through provided arguments until exhausted. Dies if at any time the relationship or column does not exist.

check_column_relation

Convenience method to first check if the provided argument is a valid relation (if it is a HashRef) or column.

AUTHORS

Nicholas Perez <nperez@cpan.org>
Luke Saunders <luke.saunders@gmail.com>
Alexander Hartmaier <abraxxa@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Luke Saunders, Nicholas Perez, et al..

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