[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-261-gdcdbade3c0

? sunnavy sunnavy at bestpractical.com
Wed Mar 10 16:35:39 EST 2021


The branch, 4.4-trunk has been updated
       via  dcdbade3c0ef85c412f3fde7aafb30db4845f3ce (commit)
      from  38ce6ca36e0b855677a5b2f50775725ed4d29b8c (commit)

Summary of changes:
 lib/RT/ObjectCustomFields.pm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

- Log -----------------------------------------------------------------
commit dcdbade3c0ef85c412f3fde7aafb30db4845f3ce
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Mar 11 05:28:12 2021 +0800

    Add basic POD for RT::ObjectCustomFields
    
    This is initially to fix the dead link to /RT/ObjectCustomFields.html in
    RT docs.
    
    Fixes: I#37079

diff --git a/lib/RT/ObjectCustomFields.pm b/lib/RT/ObjectCustomFields.pm
index 6f4ea85442..b390169521 100644
--- a/lib/RT/ObjectCustomFields.pm
+++ b/lib/RT/ObjectCustomFields.pm
@@ -46,6 +46,21 @@
 #
 # END BPS TAGGED BLOCK }}}
 
+=head1 NAME
+
+  RT::ObjectCustomFields - a collection of RT ObjectCustomField objects
+
+=head1 SYNOPSIS
+
+  use RT::ObjectCustomFields;
+
+=head1 DESCRIPTION
+
+
+=head1 METHODS
+
+=cut
+
 use strict;
 use warnings;
 
@@ -57,12 +72,24 @@ use RT::ObjectCustomField;
 
 sub Table { 'ObjectCustomFields'}
 
+=head2 LimitToCustomField CUSTOM_FIELD
+
+Limit by CustomField id.
+
+=cut
+
 sub LimitToCustomField {
     my $self = shift;
     my $id = shift;
     $self->Limit( FIELD => 'CustomField', VALUE => $id );
 }
 
+=head2 LimitToLookupType LOOKUP_TYPE
+
+Limit by CustomField LookupType.
+
+=cut
+
 sub LimitToLookupType {
     my $self = shift;
     my $lookup = shift;

-----------------------------------------------------------------------


More information about the rt-commit mailing list