This is an old revision of the document!
Drupal interface
Status for version: 20051101-1
Color coding:
CSS Class | Meaning |
missing | Not yet created, or empty |
started | Some work done, not yet usable |
workable | Can be used, but probably not complete |
ok | Considered as OK for this version |
Hooks
in phpDocumentor
hook_access |
Started |
TODO: control customer access based on the ticket owning user |
|
hook_auth |
Not needed |
Only used by auth modules |
|
hook_block |
Started |
|
|
|
List |
OK |
|
|
Configure |
OK, but will probably have to be extended |
|
|
Save |
OK: will have to be modified if Configure is extended |
|
|
View |
Started |
|
|
|
MYOPENTICKETS |
OK |
|
|
MYLATESTTICKETS |
OK |
|
|
CUSTOMEROPENTICKETS |
OK |
|
|
CUSTOMERBALANCE |
Still missing. Needs followups to be implemented first. |
|
|
ALLOPENTICKETS |
OK |
hook_comment |
Not needed |
Everything is in nodes: comments aren't used |
|
hook_cron |
Not needed |
|
|
hook_db_rewrite_sql |
Not needed |
Is it really not needed ? Some drupal specialist will have to check once it's online |
|
hook_delete |
Started |
|
|
|
Contract |
OK |
|
|
Ticket |
Still missing |
|
|
Followup |
Still missing |
|
hook_exit |
Not needed |
|
|
hook_filter |
Not needed |
Only used by content filters |
|
hook_filter_tips |
Not needed |
Only used by content filters |
|
hook_footer |
Not needed |
|
|
hook_form |
Started |
|
|
|
Contract |
OK |
|
|
Ticket |
Still missing |
|
|
Followup |
Still missing |
|
hook_help |
OK |
|
hook_info |
Not needed |
Only used by auth module |
|
hook_init |
Not needed |
Could be used to init some global data and save on local loads ? |
|
hook_insert |
Started |
|
|
|
Contract |
OK |
|
|
Ticket |
Still missing |
|
|
Followup |
Still missing |
|
hook_link |
OK |
|
|
hook_load |
Started |
|
|
|
Contract |
OK |
|
|
Ticket |
Still missing |
|
Followup |
Still missing |
hook_menu |
OK |
|
|
hook_nodeapi |
Not needed |
As long as we are only interested in our own nodes |
|
hook_node_grants |
Not needed |
Only used by modules managing node rights and not using drupal rights
for this. Might become useful in the future |
|
hook_node_name |
OK |
|
|
hook_node_types |
OK |
|
|
hook_onload |
Not needed |
no Javascript |
|
hook_perm |
OK |
|
|
hook_ping |
Not needed |
in v1 |
|
hook_search |
Not needed |
Evereything is stored in plain nodes, so works out of the box |
|
hook_search_item |
Not needed |
Evereything is stored in plain nodes, so works out of the box |
|
hook_search_preprocess |
Not needed |
in v1 |
|
hook_settings |
OK |
|
|
hook_taxonomy |
Not needed |
not needed in v1, probably needed later on |
|
hook_textarea |
Not needed |
|
|
hook_update |
Still missing |
|
|
hook_update_index |
Not needed |
Evereything is stored in plain nodes, so works out of the box |
|
hook_user |
Started |
|
|
| categories | OK | |
| view | More to display, but usable as such. Now shows contracts for customers | |
| form | OK | |
| load | OK | |
| all other values of $op | Not needed in v1. | |
hook_validate |
Hardly started |
|
|
hook_view |
Started |
|
|
|
Contract |
OK |
|
|
Ticket |
Started |
|
|
Followup |
Started |
|
hook_xmlrpc |
Not needed |
not needed in v1, probably needed later on |
|
|
|
|
|
Ancillary functions
in phpDocumentor
_helpdesk_iscustomer |
OK |
Unused in current code |
|
_helpdesk_getnidcontracts |
OK |
Used in hook_user('view') |
|
_helpdesk_encode_nid |
OK |
|
|
_helpdesk_decode_nid |
OK |
|
|
Class packages
Core package
helpdeskObject
in phpDocumentor
init |
OK |
abstract |
|
form |
OK |
abstract |
|
form |
OK |
abstract |
|
node_name |
OK |
|
|
Contract package
Contract
in phpDocumentor
init |
OK |
|
|
view |
Started |
Basic display implemented, must add the account live status |
|
form |
OK |
Some additional work is needed on the use of timeinfo, but otherwise works. |
|
getContractsByUid |
OK |
|
|
getTickets |
OK |
|
|
Customer package (user/customer)
User
Customer
Event package (ticket/followup)
Event
Ticket
Followup
Timeinfo package
Timeinfo
in phpDocumentor
__construct |
OK |
|
|
init |
OK |
|
|
view |
OK |
|
|
form |
OK |
|
|
enumKeys |
OK |
|
|
enumKeyTitles |
OK |
|
|
TimeValue