Adds a new column to the IncidentStatus to permit the user to explain why the status change was made. Also exported this and Incident data into the demo sql file.
18 lines
421 B
PHP
18 lines
421 B
PHP
<?php
|
|
|
|
class StatusBoard_IncidentStatus extends StatusBoard_DatabaseObject {
|
|
|
|
protected static $table = 'incidentstatus';
|
|
|
|
protected $_db_id;
|
|
protected $_db_incident;
|
|
protected $_db_status;
|
|
protected $_db_description;
|
|
protected $_db_ctime;
|
|
|
|
protected function all_for_incident(StatusBoard_Incident $incident) {
|
|
return static::all_for('incident', $incident->id);
|
|
}
|
|
}
|
|
|
|
?>
|