kivitendo/SL/DB/RequirementSpecTextBlock.pm @ b2e1809f
d17e1b9d | Moritz Bunkus | package SL::DB::RequirementSpecTextBlock;
|
||
use strict;
|
||||
use SL::DB::MetaSetup::RequirementSpecTextBlock;
|
||||
baac72df | Moritz Bunkus | use SL::DB::Manager::RequirementSpecTextBlock;
|
||
d17e1b9d | Moritz Bunkus | # ActsAsList does not support position arguments grouped by other
|
||
# columns, e.g. by the requirement_spec_id in this case. So we cannot
|
||||
# use it yet.
|
||||
# use SL::DB::Helper::ActsAsList;
|
||||
use SL::Locale::String;
|
||||
sub validate {
|
||||
my ($self) = @_;
|
||||
my @errors;
|
||||
push @errors, t8('The title is missing.') if !$self->title;
|
||||
return @errors;
|
||||
}
|
||||
1;
|