Hyper::Control - base class for all control classes


Back to Top


NAME

Hyper::Control - base class for all control classes

Back to Top


VERSION

This document describes Hyper::Control 0.02

Back to Top


SYNOPSIS

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

Back to Top


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.

Back to Top


ATTRIBUTES

dispatch :default<()> :name

Back to Top


SUBROUTINES/METHODS

set_owner

    $control->set_owner( $self );

Set owner for a control (eg. a container is the owner of a base control).

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.

Back to Top


DIAGNOSTICS

Back to Top


CONFIGURATION AND ENVIRONMENT

Back to Top


DEPENDENCIES

Back to Top


INCOMPATIBILITIES

Back to Top


BUGS AND LIMITATIONS

Back to Top


RCS INFORMATIONS

Last changed by

$Author: ac0v $

Id

$Id: Control.pm 528 2009-01-11 05:43:02Z ac0v $

Revision

$Revision: 528 $

Date

$Date: 2009-01-11 06:43:02 +0100 (So, 11 Jan 2009) $

HeadURL

$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Control.pm $

Back to Top


AUTHOR

Andreas Specht <ACID@cpan.org>

Back to Top


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.

Back to Top

 Hyper::Control - base class for all control classes