Alexander Hartmaier > Catalyst-Controller-DBIC-API-2.004004 > Catalyst::Controller::DBIC::API::StoredResultSource

Download:
Catalyst-Controller-DBIC-API-2.004004.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
Stalled  1
View/Report Bugs
Module Version: 2.004004   Source   Latest Release: Catalyst-Controller-DBIC-API-2.006002

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 ^

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.

syntax highlighting: