====== Drupal interface ====== **Status for version**: 20051106 Color coding:
CSS ClassMeaning
missingNot yet created, or empty
startedSome work done, not yet usable
workableCan be used, but probably not complete
okConsidered as OK for this version
===== Hooks ====== [[http://wiki.audean.com/helpdesk/doc/helpdesk/_helpdesk_php.html|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 OK  
  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 Improved in 20051106: now defines vocabularies being used.  
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 Everything is stored in plain nodes, so works out of the box  
hook_user Started    
 categoriesOK 
 viewMore to display, but usable as such.
From 20051101-1, shows contracts for customers.
From 20051101-2, limits information shown based on user category: no longer displays unapplicable info to admin
 
 formOK 
 loadOK 
 all other values of $opNot needed in v1. 
hook_validate Hardly started    
hook_view Started    
  Contract OK  
  Ticket More to display (Still missing: timeinfo, attachment...) but usable as such.  
  Followup Started  
hook_xmlrpc Not needed not needed in v1, probably needed later on  
       
===== Ancillary functions ===== [[http://wiki.audean.com/helpdesk/doc/helpdesk/_helpdesk_php.html|in phpDocumentor]]
_helpdesk_decode_nid OK    
_helpdesk_encode_nid OK    
_helpdesk_get_nid_contracts OK Used in hook_user('view')  
_helpdesk_get_terms OK    
_helpdesk_is_customer OK Unused in current code  
====== Class packages ====== ===== Core package ===== ==== helpdeskObject ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskObject.html|in phpDocumentor]]
init OK abstract  
form OK abstract  
form OK abstract  
node_name OK    
===== Contract package ===== ==== Contract ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskContract.html|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 ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskUser.html|in phpDocumentor]]
class OK    
init OK    
==== Customer ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskCustomer.html|in phpDocumentor]]
class OK    
nidContracts OK    
uidUsers OK    
===== Event package (ticket/followup) ===== ==== Event ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskEvent.html|in phpDocumentor]]
__construct OK    
form In progress. Replaces createForm. Now works like the one in contract.php  
getTicket abstract    
init OK    
view probably OK, but overloaded in descendents    
==== Ticket ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskTicket.html|in phpDocumentor]]
class Usable, except for timeinfo    
form In progress. Replaces createForm. Now works like the one in contract.php  
getTicket OK for v1    
init OK    
view Still misses some properties, like timeinfo, attachment..., but displays others correctky.    
==== Followup ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskFollowup.html|in phpDocumentor]]
(class) Hardly started    
===== Timeinfo package ===== ==== Timeinfo ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskTimeInfo.html|in phpDocumentor]]
__construct OK    
init OK    
view OK    
form OK    
enumKeys OK    
enumKeyTitles OK    
==== TimeValue ==== [[http://wiki.audean.com/helpdesk/doc/helpdesk/helpdeskTimeValue.html|in phpDocumentor]]
__construct OK    
form_field OK