CRM
[ class tree: CRM ] [ index: CRM ] [ all elements ]

Class: Crm_Module

Source Location: /crm.php

Class Overview

Module_Skeleton
   |
   --Crm_Module



Variables

Constants

Methods



Class Details

[line 7]


[ Top ]


Class Variables

$mysql =

[line 8]



Tags:

access:  public

Type:   mixed


[ Top ]

$pgsql =

[line 9]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method append_trouble_ticket [line 463]

void append_trouble_ticket( $mTicketID, $mData, [ $mState = 'append'], [ $mPriority = 'low'])

bool append_trouble_ticket (integer, string[, string = "append"])



Tags:

access:  public


Parameters:

   $mTicketID  
   $mData  
   $mState  
   $mPriority  

[ Top ]

method close_trouble_ticket [line 457]

void close_trouble_ticket( $mTicketID, $mData)

bool close_trouble_ticket (integer, string)

Wrapper for append_trouble_ticket with the state of "close"




Tags:

access:  public


Parameters:

   $mTicketID  
   $mData  

[ Top ]

method file_new_trouble_ticket [line 396]

int file_new_trouble_ticket( string $mContact, int $mSubject, [ $mPriority = 'low'], string $mData)

int file_new_trouble_ticket(string, integer, string)



Tags:

return:  insert id of the ticket; call append_trouble_ticket with this value
access:  public


Parameters:

string   $mContact   contact e-mail address
int   $mSubject   subject title id get_troubleticket_subjects
string   $mData   trouble ticket body
   $mPriority  

[ Top ]

method get_contact_by_id [line 622]

string get_contact_by_id( $mID $mID)

string get_contact_by_id(int)



Tags:

access:  public


Parameters:

$mID   $mID   int

[ Top ]

method get_subject_by_id [line 118]

string get_subject_by_id( $mID $mID)

string get subject_by_id(int)



Tags:

access:  public


Parameters:

$mID   $mID   int ID number to lookup

[ Top ]

method get_ticket_type_as_id [line 236]

int get_ticket_type_as_id( $mSubject $mSubject)

get_ticket_type_as_id(string)



Tags:

access:  public


Parameters:

$mSubject   $mSubject   string

[ Top ]

method get_trouble_ticket [line 247]

void get_trouble_ticket( $mID)

array get_trouble_ticket(integer)



Tags:

access:  public


Parameters:

   $mID  

[ Top ]

method get_trouble_tickets_restricted [line 311]

void get_trouble_tickets_restricted( $mStatus, bool $status)

array get_trouble_tickets_restricted (bool)



Tags:

access:  public


Parameters:

bool   $status   true for open, false for closed
   $mStatus  

[ Top ]

method get_trouble_tickets_unrestricted [line 187]

void get_trouble_tickets_unrestricted( $mStatus)

array get_trouble_tickets_unrestricted(bool)



Tags:

throws:  PermissionError insufficient permissions to access method
access:  public


Parameters:

   $mStatus  

[ Top ]

method get_trouble_ticket_subjects [line 105]

void get_trouble_ticket_subjects( )

array get_troubleticket_subjects (void)



Tags:

access:  public


[ Top ]

method reopen_trouble_ticket [line 362]

int reopen_trouble_ticket( $mID $mID)

bool reopen_trouble_ticket(int)



Tags:

access:  public


Parameters:

$mID   $mID   int

[ Top ]

method search_trouble_tickets [line 137]

array search_trouble_tickets( $mQuery $mQuery, $mMode $mMode)

array search_trouble_tickets (string, integer)



Tags:

access:  public


Parameters:

$mQuery   $mQuery   string
$mMode   $mMode   int 0 = last filing date, 1 = relevancy

[ Top ]


Class Constants

COPY_ADMIN =  'support@apisnetworks.com'

[line 18]


[ Top ]

FROM_ADDRESS =  'support@apisnetworks.com'

[line 13]


[ Top ]

FROM_NAME =  'Apis Networks Support'

[line 14]


[ Top ]

FROM_NO_REPLY_ADDRESS =  'noreply@apisnetworks.com'

[line 15]


[ Top ]

SHORT_COPY_ADMIN =  '6789865596@mobile.mycingular.com'

[line 20]


[ Top ]



Documentation generated on Sat, 05 Jul 2008 04:00:33 -0400 by phpDocumentor 1.4.0