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


Catalyst-Controller-DBIC-API documentation  | view source Contained in the Catalyst-Controller-DBIC-API distribution.

Index


NAME

Top

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

VERSION

Top

version 2.003002

PUBLIC_ATTRIBUTES

Top

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

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

Top

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

Top

COPYRIGHT AND LICENSE

Top


Catalyst-Controller-DBIC-API documentation  | view source Contained in the Catalyst-Controller-DBIC-API distribution.