Revision 2c14706b
Von Bernd Bleßmann vor mehr als 9 Jahren hinzugefügt
SL/DB/Project.pm | ||
---|---|---|
48 | 48 |
return !SL::DB::Manager::Project->get_first(where => \@filter); |
49 | 49 |
} |
50 | 50 |
|
51 |
sub displayable_name { |
|
52 |
my ($self) = @_; |
|
53 |
|
|
54 |
return join ' ', grep $_, $self->projectnumber, $self->description; |
|
55 |
} |
|
56 |
|
|
51 | 57 |
sub full_description { |
52 | 58 |
my ($self, %params) = @_; |
53 | 59 |
|
... | ... | |
113 | 119 |
project in the database. Also returns trueish if no project number has |
114 | 120 |
been set yet. |
115 | 121 |
|
122 |
=item C<displayable_name> |
|
123 |
|
|
124 |
Returns a human-readable description of the project, consisting of projectnumber |
|
125 |
and description. |
|
126 |
|
|
116 | 127 |
=item C<full_description %params> |
117 | 128 |
|
118 | 129 |
Returns a full description for the project which can consist of the |
Auch abrufbar als: Unified diff
SL::DB::Project: displayable_name-Methode