|
Lines 82-96
The function returns a hashref with keys:
Link Here
|
| 82 |
location: the passed in location param returned |
82 |
location: the passed in location param returned |
| 83 |
blocktitle: the passed in blocktitle param returned |
83 |
blocktitle: the passed in blocktitle param returned |
| 84 |
|
84 |
|
| 85 |
=head2 get_opac_news_by_id |
|
|
| 86 |
|
| 87 |
In a template, you can get a specific news item by passing |
| 88 |
the news id. E.g.: |
| 89 |
|
| 90 |
[% SET news_item = AdditionalContents.get_news_by_id( news_id => news_id ) %] |
| 91 |
|
| 92 |
The function returns a hashref with a Koha::AdditionalContents object in the 'contents' key |
| 93 |
|
| 94 |
=head1 AUTHOR |
85 |
=head1 AUTHOR |
| 95 |
|
86 |
|
| 96 |
Owen Leonard <oleonard@myacpl.org> |
87 |
Owen Leonard <oleonard@myacpl.org> |
| 97 |
- |
|
|