view Lib/IMPL/Object/Fields.pm @ 165:76515373dac0

Added Class::Template, Rewritten SQL::Schema 'use parent' directive instead of 'use base'
author wizard
date Sat, 23 Apr 2011 23:06:48 +0400
parents eb3e9861a761
children 4267a2ac3d46
line wrap: on
line source

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

use base 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;