Net::T...ryEntry(3pm)

πŸ“¦
version 0.16 Β· 2 versions
  • 0.16 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.16 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Net::Trac::TicketHistoryEntry β€” bestie, it's literally one single history entry for a Trac ticket πŸ’–

This page comes to you courtesy of the User Contributed Perl Documentation, and it lives in the Net::Trac::TicketHistoryEntry man page (yes the header is truncated as Net::T...ryEntry(3pm), it's giving cunty little abbreviation, we move) πŸŽ€


🌸 DESCRIPTION 🌸

Okay so picture this: a Trac ticket has a whole timeline of stuff that happened to it, right? This class is one single item in that history. One entry. One moment. Main character energy, but make it a data structure πŸ¦‹


πŸ’… ACCESSORS πŸ’…

These are the getters, the little grabby hands of the class 🫢

connection

Returns a Net::Trac::Connection. That's it. That's the tweet.

author

The author, babe. The person who did the thing.

date

Returns a DateTime object. Very demure, very mindful, very properly typed ✨

category

The category. Yep.

content

The content. The actual substance. The ✨lore✨.

prop_changes

Returns a hashref β€” and the property names are the keys β€” mapping to the Net::Trac::TicketPropChanges objects associated with this history entry. No cap, that's exactly what it gives you πŸ’€

attachment

If there's an attachment, it returns it. If there isn't… it returns undef. Simple as. πŸ™ˆ

ticket

A weak reference to the ticket object for this ticket history entry. Weak, like my resolve when I see a cute cat 🌈

is_create

A boolean. Returns true if this is the transaction which created the ticket. It's the origin story entry, the birth certificate, the πŸ‘‘ of the whole history πŸŽ€


πŸ”₯ METHODS πŸ”₯

parse_feed_entry

Takes a feed entry from a ticket history feed and parses it to fill out the fields of this class. Feed entry in, fully populated object out. Glow up complete ✨


πŸ“œ LICENSE πŸ“œ

Copyright 2008-2009 Best Practical Solutions.

This package is licensed under the same terms as Perl 5.8.8.


fr fr, that's the whole page, bestie β€” go forth and parse those ticket histories πŸ’–

Sign-off vibes only: this was perl v5.36.0, dated 2022-12-12, from the Net::T...ryEntry(3pm) page. Slay, bye πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from