Myco::Entity::Meta::UI::View - a Myco entity class


Myco documentation Contained in the Myco distribution.

Index


Code Index:

NAME

Top

Myco::Entity::Meta::UI::View - a Myco entity class

SYNOPSIS

Top

  use Myco::Entity::Meta::UI::View;

DESCRIPTION

Top

Used by the myco entity framework. Don't hack it unless you know what you're doing :_)

ATTRIBUTES

Top

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

* Set attribute value
 $obj->set_attribute($value);

Check functions (see Class::Tangram) perform data validation. If there is any concern that the set method might be called with invalid data then the call should be wrapped in an eval block to catch exceptions that would result.

* Get attribute value
 $value = $obj->get_attribute;

A listing of available attributes follows:

fields

 type: hash ref




layout

 type: array ref

ADDED CLASS / INSTANCE METHODS

Top

None

LICENSE AND COPYRIGHT

Top

AUTHORS

Top

Charles Owens <czbsd@cpan.org>

SEE ALSO

Top

Myco::Entity::Meta::UI::View::Test (Myco::Entity::Meta::UI::View::Test), Myco::Entity, Myco (Myco), Tangram, Class::Tangram, myco-mkentity (mkentity)


Myco documentation Contained in the Myco distribution.
package Myco::Entity::Meta::UI::View;

###############################################################################
# $Id: View.pm,v 1.6 2006/03/19 19:34:08 sommerb Exp $
#
# See license and copyright near the end of this file.
###############################################################################

##############################################################################
# Dependencies
##############################################################################
# Module Dependencies and Compiler Pragma
use warnings;
use strict;

##############################################################################
# Inheritance
##############################################################################
use base qw(Class::Tangram);

##############################################################################
# Attributes & Attribute Accessors / Schema Definition
##############################################################################

### Object Schema Definition
our $schema =
  {
   fields =>
    {
      transient =>
      { fields => {},
        layout => {},
      },
    }
  };


##############################################################################
# Methods
##############################################################################


1;
__END__