hd:developer_reference
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hd:developer_reference [2005/09/25 15:07] – (old revision restored) 127.0.0.1 | hd:developer_reference [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Doc from code ====== | ====== Doc from code ====== | ||
- | This is available on [[http://wiki.riff.org/helpdesk/doc|helpdesk/ | + | This is available on [[http://cvs.drupal.org/viewcvs/ |
- | The source code itself | + | The [[http:// |
- | Preliminary design info is available on [[http:// | + | Preliminary design info is available on [[http:// |
+ | |||
+ | ====== General behaviours ====== | ||
+ | |||
+ | ===== Content-oriented classes ====== | ||
+ | |||
+ | Content-oriented classes share similar methods: | ||
+ | * init() initializes an already created instance of the class with values passed as parameters, or derives from them. It is to be used when the constructor doesn' | ||
+ | * form() implements the portion of hook_form the class is responsible for | ||
+ | * view() implements the portion of hook_view the class is responsible for | ||
+ | |||
+ | These are: | ||
+ | helpdeskObject | ||
+ | helpdeskContract | ||
+ | helpdeskEvent | ||
+ | helpdeskTicket | ||
+ | helpdeskFollowup | ||
+ | helpdeskTimeInfo | ||
+ | |||
+ | |||
+ | |||
+ | ====== Class reference ====== | ||
+ | |||
+ | See the [[http://wiki.riff.org/helpdesk/ | ||
+ | |||
+ | In short: | ||
+ | |||
+ | * helpdeskObject is an abstract ancestor | ||
+ | * helpdeskContract implements the HD [[CONTRACT]] | ||
+ | * helpdeskEvent is an abstract ancestor for HD [[TICKET]] and [[FOLLOWUP]] | ||
+ | * helpdeskTicket implements the HD [[TICKET]] | ||
+ | * helpdeskFollowup implements the HD [[FOLLOWUP]] | ||
+ | * helpdeskTimeInfo implements a view (à la MVC) of a set of timestamps within Drupal. It is a descendent of the helpdeskObject, | ||
+ | * helpdeskTimeValue implements a view (à la MVC) of a timestamp within Drupal. It is the workhorse for helpdeskTimeInfo | ||
+ | * helpdeskUser implements the HD [[USER]] | ||
+ | * helpdeskCustomer implements the HD [[CUSTOMER]] | ||
+ | |||
+ | The HD [[TECH]] and [[ATTENDANT]] have no direct implementation. | ||
hd/developer_reference.1127660822.txt.gz · Last modified: 2020/11/23 17:23 (external edit)