Bug 24398: (QA follow-up) Add POD
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commitdd36b9bb5b
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitb14cf9f64b
) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> (cherry picked from commitc4d76b7171
) Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
bb91b7a8a6
commit
1f61219d72
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,14 @@ Koha::NewsItem represents a single piece of news from the opac_news table
|
|||
|
||||
=cut
|
||||
|
||||
=head3 author
|
||||
|
||||
$newsitem->author;
|
||||
|
||||
Return the Koha::Patron object for the patron who authored this news item
|
||||
|
||||
=cut
|
||||
|
||||
sub author {
|
||||
my ( $self ) = @_;
|
||||
return Koha::Patron->_new_from_dbic($self->_result->borrowernumber);
|
||||
|
|
Loading…
Reference in a new issue