Trees Indices Help
Trac
Package trac :: Package ticket :: Module web_ui :: Class TicketModule

Class TicketModule

source code

 object --+ 
 | 
core.Component --+
 |
 TicketModule

Nested Classes

Inherited from core.Component : __metaclass__

Instance Methods
__init__(self, compmgr, init=<function __init__ at 0x7f8a5dc42b90>, cls=<class 'trac.ticket.web_ui.TicketModule'>)
x.__init__(...) initializes x; see help(type(x)) for signature source code
__getattr__(self, name)
Delegate access to ticket default Options which were move to TicketSystem. source code
get_supported_conversions(self) source code
convert_content(self, req, mimetype, ticket, key) source code
get_active_navigation_item(self, req) source code
get_navigation_items(self, req) source code
match_request(self, req) source code
process_request(self, req) source code
get_htdocs_dirs(self) source code
get_templates_dirs(self) source code
get_search_filters(self, req) source code
get_search_results(self, req, terms, filters) source code
get_timeline_filters(self, req) source code
get_timeline_events(self, req, start, stop, filters) source code
render_timeline_event(self, context, field, event) source code
export_csv(self, req, ticket, sep=',', mimetype='text/plain') source code
export_rss(self, req, ticket) source code
get_ticket_changes(self, req, ticket, selected_action)
Returns a dictionary of field changes. source code
rendered_changelog_entries(self, req, ticket, when=None)
Iterate on changelog entries, consolidating related changes in a dict object. source code
grouped_changelog_entries(self, ticket, db, when=None)
Iterate on changelog entries, consolidating related changes in a dict object. source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.Component : __new__ , implements

Class Variables
timeline_details = <BoolOption [timeline] "ticket_show_details">
max_description_size = <IntOption [ticket] "max_description_si...
max_comment_size = <IntOption [ticket] "max_comment_size">
timeline_newticket_formatter = <Option [timeline] "newticket_f...
preserve_newlines = <Option [ticket] "preserve_newlines">
ticketlink_query = <Option [query] "ticketlink_query">
Properties
ticket_manipulators
List of components that implement ITicketManipulator

Inherited from object: __class__

Method Details

__init__(self, compmgr, init=<function __init__ at 0x7f8a5dc42b90>, cls=<class 'trac.ticket.web_ui.TicketModule'>)
(Constructor)

source code
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

__getattr__(self, name)
(Qualification operator)

source code
Delegate access to ticket default Options which were move to
TicketSystem.
.. todo:: remove in 0.13

get_ticket_changes(self, req, ticket, selected_action)

source code

Returns a dictionary of field changes.

The field changes are represented as: {field: {'old': oldvalue, 'new': newvalue, 'by': what}, ...}


Class Variable Details

max_description_size

Value:
<IntOption [ticket] "max_description_size">

timeline_newticket_formatter

Value:
<Option [timeline] "newticket_formatter">

Property Details

ticket_manipulators

List of components that implement ITicketManipulator
Get Method:
unreachable.extensions(component) - Return a list of components that declare to implement the extension point interface.

must_preserve_newlines

Get Method:
unreachable.must_preserve_newlines(self)

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /