WebAPI::DBIC::Resource::Role::Relationship
version 0.001008
WebAPI::DBIC::Resource::Role::Relationship - methods relating to relationships between resources
$Data::Dumper::Deparse = 1; return { "$$args{'foreign_alias'}.artist", {-'ident', "$$args{'self_alias'}.artistid"}, "$$args{'foreign_alias'}.year", 1984 }, $$args{'self_resultobj'} && { "$$args{'foreign_alias'}.artist", $$args{'self_resultobj'}->artistid, "$$args{'foreign_alias'}.year", 1984 };
$url = $self->get_url_for_item_relationship($item, $relname);
Given a specific item and relationship name return a url for the related records, if possible else return undef.
Tim Bunce <Tim.Bunce@pobox.com>
This software is copyright (c) 2014 by Tim Bunce.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebAPI::DBIC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebAPI::DBIC
CPAN shell
perl -MCPAN -e shell install WebAPI::DBIC
For more information on module installation, please visit the detailed CPAN module installation guide.