Customer Support module.
Customer Support module.
Import helpdesk-related classes and functions
Import helpdesk-related classes and functions
Constants for HELPDESK block deltas
Constants for HELPDESK block deltas
Constants for helpdesk node types
Constants for helpdesk node types
Constants for HELPDESK perms
Constants for HELPDESK perms
Constants for Drupal variables
Constants for Drupal variables
Helpdesk access control
Helpdesk access control User may create an issue, read and close his own issues, add followups to his issues Customer has User rights, extended to all users bound to him, and can perform some actions on his contracts Tech can do anything HELPDESK-related
Implementation of hook_help : provides and manages the helpdesk blocks.
Implementation of hook_help : provides and manages the helpdesk blocks.
HELPDESK actions to be performed when a HELPDESK node is deleted
HELPDESK actions to be performed when a HELPDESK node is deleted
Helpdesk data entry form.
Helpdesk data entry form. Used for both node add and edit testing for $node->nid allows the code to define whether the node is to be created of modified
Display help and module information
Display help and module information Documented values as of 4.6.3 and HEAD on 2005/08/21
Upon creation of a helpdesk-related node, perform insertions on our private tables
Upon creation of a helpdesk-related node, perform insertions on our private tables We're not supposed to test for access here, as it's already been done earlier in node_add (?)
This hook enables modules to add links to many parts of Drupal.
This hook enables modules to add links to many parts of Drupal. Links may be added in nodes or in the navigation block, for example. In our case, this will allow followups to be added to either issues or followups (threading)
load auxiliary data for HD nodes. other modules and drupal core.
load auxiliary data for HD nodes. We wrap the returned object in an array to prevent mixing with other modules and drupal core.
HELPDESK menu is enabled for all users with HELPDESK
HELPDESK menu is enabled for all users with HELPDESK
Implementation of hook_nodeapi, for tracing purposes only
Implementation of hook_nodeapi, for tracing purposes only
Name our node names.
Name our node names. See also helpdesk_node_types
Define our node types
Define our node types
Valid permissions for this module
Valid permissions for this module
Module configuration settings
Module configuration settings
Specs: Respond to node updating.
Specs: Respond to node updating. This is a hook used by node modules. It is called to allow the module to take action when an edited node is being updated in the database by, for example, updating information in related tables.
Act on user account actions.
Act on user account actions. This hook allows modules to react when operations are performed on user accounts. Sequence of calls for high-level functions:
Verify a node editing form.
Verify a node editing form. This is a hook used by node modules. It is called to allow the module to verify that the node is in a format valid to post to the site. It can also be used to make changes to the node before submission, such as node-type-specific formatting. Errors should be set with form_set_error().
Per the docs: This is a hook used by node modules.
Per the docs: This is a hook used by node modules. It allows a module to define a custom method of displaying its nodes, usually by displaying extra information particular to that node type.
Subroutine for helpdesk_block/configure
Subroutine for helpdesk_block/configure
Defines the name of the blocks attached to a delta
Defines the name of the blocks attached to a delta
Subroutine for helpdesk_block/save
Subroutine for helpdesk_block/save
Subroutine for helpdesk_block/view
Subroutine for helpdesk_block/view
Build a block returning a list of all open tickets.
Build a block returning a list of all open tickets.
Build a block returning a list of all open tickets for the users linked to this customer.
Build a block returning a list of all open tickets for the users linked to this customer.
Build a block returning a list of the latest tickets for the current user, be they open or not
Build a block returning a list of the latest tickets for the current user, be they open or not
Build a block returning a list of the current user's open tickets.
Build a block returning a list of the current user's open tickets.
Extract the actual $node->nid from the public form of the ticket number
Extract the actual $node->nid from the public form of the ticket number
Build the public form of the node number from the actual nid
Build the public form of the node number from the actual nid
Returns the contracts owned by a customer
Returns the contracts owned by a customer
Checks whether or not the current user is a customer
Checks whether or not the current user is a customer Does not depend on bound users or contracts
auxiliary function for helpdesk_user('categorie').
auxiliary function for helpdesk_user('categorie'). Currently, this displays the user roles and admin status if the module has been set up to do so.
auxiliary function for helpdeks_user('form'), to be displayed when user tries to display/edit his own data:
auxiliary function for helpdeks_user('form'), to be displayed when user tries to display/edit his own data:
implements helpdesk_user('load') : load customer/hd user data upon user load
implements helpdesk_user('load') : load customer/hd user data upon user load do not load list of bound users for customers: this could be too heavy for something rarely (?) used
auxiliary function for helpdesk_user('view')
auxiliary function for helpdesk_user('view')
Documentation generated on Tue, 01 Nov 2005 23:15:00 +0100 by phpDocumentor 1.3.0RC3