Revision 74448c30
Von Tamino Steinert vor fast 2 Jahren hinzugefügt
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) = @_;
|
||
|
Auch abrufbar als: Unified diff
Model::Record: Funktion für das Laden von Records