The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 2.004004

PUBLIC_ATTRIBUTES

class is: ro, isa: Str

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

result_class is: ro, isa: Str

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

PUBLIC_METHODS

stored_result_source

This is the result source for the controller

stored_model

This is the model for the controller

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>

  • Florian Ragwitz <rafl@debian.org>

  • Oleg Kostyuk <cub.uanic@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Luke Saunders, Nicholas Perez, Alexander Hartmaier, 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.