Bug 19086: Fix Stored XSS in members/member.pl
[koha.git] / Koha / AuthorisedValue.pm
index 6b7b3ab..898b630 100644 (file)
@@ -27,7 +27,7 @@ use base qw(Koha::Object);
 
 =head1 NAME
 
-Koha::AuthorisedValue - Koha Authorised Value Object class
+Koha::AuthorisedValue - Koha Authorised value Object class
 
 =head1 API
 
@@ -88,7 +88,7 @@ sub add_branch_limitation {
     return $limitation ? 1 : undef;
 }
 
-=head3 add_branch_limitation
+=head3 del_branch_limitation
 
 $av->del_branch_limitation( $branchcode );
 
@@ -131,11 +131,9 @@ sub replace_branch_limitations {
     return \@return_values;
 }
 
-=head3 lib_opac
-
-my $description = $av->lib_opac();
+=head3 opac_description
 
-$av->lib_opac( $description );
+my $description = $av->opac_description();
 
 =cut
 
@@ -145,7 +143,7 @@ sub opac_description {
     return $self->lib_opac() || $self->lib();
 }
 
-=head3 Koha::Objects->_avb_resultset
+=head3 _avb_resultset
 
 Returns the internal resultset or creates it if undefined
 
@@ -164,7 +162,7 @@ sub _avb_resultset {
 
 =cut
 
-sub type {
+sub _type {
     return 'AuthorisedValue';
 }