NAME

Hyper::Control - base class for all control classes

VERSION

This document describes Hyper::Control 0.02

SYNOPSIS

package Hyper::Control::Sample;

use Class::Std::Storable;
use base qw(Hyper::Control);

1;

DESCRIPTION

Hyper::Control inherits from Hyper::Container, adds the capability for getting the state of controls, including embedded controls and adds some methods needed for running our generated code.

ATTRIBUTES

dispatch :default<()> :name

SUBROUTINES/METHODS

set_value_recursive

$self->set_value_recursive(
    [qw(this initiator id)],                             # parts
    => $self->get_value_recursive([qw(permission type)]) # value
);

Set a value by try and error. Don't call this method in YOUR programms. It's only used in generated code.

get_value_recursive

$self->get_value_recursive([qw(this initiator id)]);

Get a value by try and error. Don't call this method in YOUR programms. It's only used in generated code.

STORABLE_thaw_post

Calls the DISPATCH method on the class stored in the dispatch attribute if the dispatch attribute is true.

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

  • version

  • Class::Std::Storable

  • Hyper::Container

  • Hyper::Error

  • Hyper::Functions

  • Scalar::Util

INCOMPATIBILITIES

BUGS AND LIMITATIONS

RCS INFORMATIONS

Last changed by

$Author: kutterma $

Id

$Id: Control.pm 497 2008-06-09 13:43:40Z kutterma $

Revision

$Revision: 497 $

Date

$Date: 2008-06-09 15:43:40 +0200 (Mon, 09 Jun 2008) $

HeadURL

$HeadURL: file:///srv/cluster/svn/repos/Hyper/Hyper/trunk/lib/Hyper/Control.pm $

AUTHOR

Andreas Specht <ACID@cpan.org>

LICENSE AND COPYRIGHT

Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.