Project

General

Profile

« Previous | Next » 

Revision 1c934069

Added by Tamino Steinert over 1 year ago

Model::Record: Funktion für das Laden von Records

View differences:

SL/Model/Record.pm
return $record;
}
sub get_record {
my ($class, $type, $id) = @_;
my $record_class = get_class_from_type($type);
return $record_class->new(id => $id)->load;
}
sub new_from_workflow {
my ($class, $source_object, $target_type, %flags) = @_;

Also available in: Unified diff