Dave Rolsky > Fey-ORM-0.26 > Fey::Meta::HasMany

Download:
Fey-ORM-0.26.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs

Source   Latest Release: Fey-ORM-0.30

NAME ^

Fey::Meta::HasMany - A parent for has-one metaclasses based on a Fey::FK object

DESCRIPTION ^

This class implements a has-one relationship for a class, based on a provided (or deduced) Fey::FK object.

CONSTRUCTOR OPTIONS ^

This class accepts the following constructor options:

METHODS ^

Besides the methods inherited from Fey::Meta::HasMany, it also provides the following methods:

$ho->fk()

Corresponds to the value passed to the constructor, or the calculated default.

$ho->order_by()

Corresponds to the value passed to the constructor.

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

BUGS ^

See Fey::ORM for details.

COPYRIGHT & LICENSE ^

Copyright 2006-2009 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module.