Mercurial > pub > Impl
view Lib/IMPL/Class/Member.pm @ 113:7b14e0122b79
Updated PostToDOM transformation
added selectSingleNode method to IMPL::DOM::Node
Implemented FormWrapper in the Web::Application::ControllerUnit
author | wizard |
---|---|
date | Fri, 21 May 2010 02:38:11 +0400 |
parents | 16ada169ca75 |
children | 76515373dac0 |
line wrap: on
line source
package IMPL::Class::Member; use strict; use base qw(Exporter); our @EXPORT = qw(virtual public private protected); use IMPL::Class::Meta; require IMPL::Class::MemberInfo; use constant { MOD_PUBLIC => 1, MOD_PROTECTED => 2, MOD_PRIVATE => 3 }; sub virtual($) { $_[0]->Virtual(1); $_[0]; } sub public($) { $_[0]->Access(MOD_PUBLIC); $_[0]->Implement; $_[0]; } sub private($) { $_[0]->Access(MOD_PRIVATE); $_[0]->Implement; $_[0]; } sub protected($) { $_[0]->Access(MOD_PROTECTED); $_[0]->Implement; $_[0]; } 1;