Public Member Functions | Data Fields

Incident Class Reference

Public Member Functions

 get_array ()

Data Fields

 $incidentid = -1
 $title = "no title"
 $ownerid = -1
 $townerid = -1
 $owner = "no owner"
 $towner = "no temp owner"
 $skillid = -1
 $skill = "no skill"
 $maintenanceid = -1
 $maintenance = "no maintenance"
 $priorityid = -1
 $priority = "no priority"
 $currentstatusid = -1
 $currentstatusinternal = "no status"
 $currentstatusexternal = "no status"
 $servicelevel = "no service level"

Detailed Description

Incident class for SiT, represents a single incident within SiT

Author:
Paul Heaney
Todo:
FIXME move out of this file into incidents in SiT3.60, extend SitEntity and make more useful

Definition at line 145 of file soap_types.inc.php.


Member Function Documentation

get_array (  ) 

Returns the array of the incident required by nusoap

Returns:
array. Array for NUSOAP
Author:
Paul Heaney

Definition at line 170 of file soap_types.inc.php.

References debug_log(), and title.

    {
        debug_log("get_array ".$this->incidentid );
        return array('incidentid' => $this->incidentid,
                            'title' => $this->title,
                            'ownerid' => $this>ownerid,
                            'townerid' => $this->townerid,
                            'owner' => $this->owner,
                            'towner' => $this->towner,
                            'skillid' => $this->skillid,
                            'skill' => $this->skill,
                            'maintenanceid' => $this->maintenanceid,
                            'maintenance' => $this->maintenance,
                            'priorityid' => $this->priorityid,
                            'priority' => $this->priority,
                            'currentstatusid' => $this->currentstatusid,
                            'currentstatusinternal' => $this->currentstatusinternal,
                            'currentstatusexternal' => $this->currentstatusexternal,
                            'servicelevel' => $this->servicelevel
                        );
    }


Field Documentation

$currentstatusexternal = "no status"

Definition at line 161 of file soap_types.inc.php.

$currentstatusid = -1

Definition at line 159 of file soap_types.inc.php.

$currentstatusinternal = "no status"

Definition at line 160 of file soap_types.inc.php.

$incidentid = -1

Definition at line 147 of file soap_types.inc.php.

$maintenance = "no maintenance"

Definition at line 156 of file soap_types.inc.php.

$maintenanceid = -1

Definition at line 155 of file soap_types.inc.php.

$owner = "no owner"

Definition at line 151 of file soap_types.inc.php.

$ownerid = -1

Definition at line 149 of file soap_types.inc.php.

$priority = "no priority"

Definition at line 158 of file soap_types.inc.php.

$priorityid = -1

Definition at line 157 of file soap_types.inc.php.

$servicelevel = "no service level"

Definition at line 162 of file soap_types.inc.php.

$skill = "no skill"

Definition at line 154 of file soap_types.inc.php.

$skillid = -1

Definition at line 153 of file soap_types.inc.php.

$title = "no title"

Definition at line 148 of file soap_types.inc.php.

$towner = "no temp owner"

Definition at line 152 of file soap_types.inc.php.

$townerid = -1

Definition at line 150 of file soap_types.inc.php.


The documentation for this class was generated from the following file:

For more help developing with SiT! see http://sitracker.org/wiki/DevelopmentHowTo

© 2008-2011 Support Incident Tracker

Tsohost Logo