Lines 77-82
sub library_groups {
Link Here
|
77 |
return Koha::Library::Groups->_new_from_dbic( $rs ); |
77 |
return Koha::Library::Groups->_new_from_dbic( $rs ); |
78 |
} |
78 |
} |
79 |
|
79 |
|
|
|
80 |
=head3 selected |
81 |
|
82 |
Is the library selected in the context of the selection? |
83 |
For example: |
84 |
Can be used to show that, |
85 |
this specific library |
86 |
is the one currently selected, |
87 |
on the user interface |
88 |
from a list of other libraries. |
89 |
|
90 |
@param1 Any, Context specific variable |
91 |
@returns Any, explaining the type of selection in the context of the selection. |
92 |
or undef, when this Library is not selected. |
93 |
|
94 |
=cut |
95 |
|
96 |
sub selected { |
97 |
my ( $self, $selected ) = @_; |
98 |
$self->{_koha_selected} = $selected if $selected; |
99 |
return $self->{_koha_selected}; |
100 |
} |
101 |
|
80 |
=head2 Internal methods |
102 |
=head2 Internal methods |
81 |
|
103 |
|
82 |
=head3 _type |
104 |
=head3 _type |
83 |
- |
|
|