diff options
Diffstat (limited to 'Bugzilla/Field.pm')
-rw-r--r-- | Bugzilla/Field.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index 837e1c0de..d18356d66 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -432,6 +432,17 @@ sub _check_reverse_desc { sub _check_is_mandatory { return $_[1] ? 1 : 0; } +############################### +#### Accessors ###### +############################### + +use Class::XSAccessor { + accessors => { + id => __PACKAGE__->ID_FIELD, + name => __PACKAGE__->NAME_FIELD, + }, +}; + =pod =head2 Instance Properties |