Ben Sommer > Myco-1.22 > Myco::Foo

Download:
Myco-1.22.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Myco::Foo - a Myco entity class

SYNOPSIS ^

  use Myco;

  # Constructors. See Myco::Entity for more.
  my $obj = Myco::Foo->new;

  # Accessors.
  my $value = $obj->get_fooattrib;
  $obj->set_fooattrib($value);

  $obj->save;
  $obj->destroy;

DESCRIPTION ^

Blah blah blah... Blah blah blah... Blah blah blah... Blah blah blah blah blah... Blah blah...

COMMON ENTITY INTERFACE ^

Constructor, accessors, and other methods -- as inherited from Myco::Entity.

ATTRIBUTES ^

Attributes may be initially set during object construction (with new()) but otherwise are accessed solely through accessor methods. Typical usage:

A listing of available attributes follows:

fooattrib

 type: string   default: 'hello'

A whole lot of nothing

barattrib

 type: int   required: not undef

Almost, but not quite, something.

ADDED CLASS / INSTANCE METHODS ^

foometh

  Myco::Foo->foometh(attribute => value, ...)

blah blah blah

barmeth

  $obj->barmeth(attribute => $value, ...)

blah blah blah

LICENSE AND COPYRIGHT ^

Copyright (c) 2006 the myco project. All rights reserved. This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Myco::Foo::Test, Myco::Entity, Myco, Tangram, Class::Tangram, myco-mkentity

syntax highlighting: