Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: overlays/issue.php

class Issue extends Overlay - Describe one issue

This overlay is aiming to track status of various kinds of issue, as per following workflow:
on-going:suspect (create_date)
V
+ qualification --> cancelled:suspect (qualification_date)
V
on-going:problem (qualification_date)
V
+ analysis --> cancelled:problem (analysis_date)
V
on-going:issue (analysis_date)
V
+ resolution --> cancelled:issue (resolution_date)
V
on-going:solution (resolution_date)
V
+ integration --> cancelled:solution (close_date)
V
completed:solution (close_date)


In the overlay itself, saved along the article, only the last status and the related date are saved. More descriptive data and dates are saved into the table yacs_issues.

This script is a reference file of this system.

Licence: GNU Lesser General Public License

Auteurs:

get_fields() - Build the list of fields for one overlay

function get_fields($host, $capability='?')

The current status, and the related status date are proposed

Voir aussi:

get_history() - Build the history for this issue

function get_history($id)

get_label() - Get an overlaid label

function get_label($name, $action='view')

Accepted action codes:

Voir aussi:

get_live_title() - Display a live title

function &get_live_title($host=NULL, $capability='?')



Voir aussi:

get_options() - Get status as options of a <SELECT> field

function get_options($status)

get_status_label() - Get a label for a given status code

function get_status_label($status)

get_view_text() - Display the content of one issue

function &get_view_text($host=NULL, $capability='?')



Voir aussi:

parse_fields() - Retrieve the content of one modified overlay

function parse_fields($fields)

These are data saved into the piggy-backed overlay field of the hosting record.

If change is the status affects a previous step of the process, then this is either a simple date update or some steps have to be cancelled.

Current and previous step are computed using following table:

Voir aussi:

remember() - Remember an action once it's done

function remember($variant, $host, $capability='?')

This function saves data into the table yacs_issues.

Voir aussi:

setup() - Create tables for issues

function setup()

Voir aussi:

Tools
Browse the source of this script
Server software