view Lib/IMPL/Object/Fields.pm @ 192:a9faf883cdce

IMPL::Web::View refactoring
author cin
date Fri, 06 Apr 2012 16:22:38 +0400
parents d1676be8afcc
children 4d0e1962161c
line wrap: on
line source

package IMPL::Object::Fields;
use strict;
use warnings;

use parent qw(IMPL::Object::Abstract);

sub new {
	my $class = shift;
	
	$class = ref $class || $class;
	
	my $this = fields::new($class);
	$this->callCTOR(@_);
	
	return $this;
}

sub surrogate {
	my $class = shift;
	
	$class = ref $class || $class;
	
	return fields::new($class);
}

1;