Todo List

Global cfgSave ($setupvars)
TODO, need to make setup.php use this INL 5Dec08

Global cleanvar ($vars, $striphtml=TRUE, $transentities=FALSE, $mysqlescape=TRUE, $disallowedchars=array(), $replacechars=array(), $intval=FALSE)
TODO this function could use a bit of tidy-up

Global closingstatus_drop_down ($name, $id, $required=FALSE)
Requires database i18n

Global contract_balance ($contractid, $includenonapproved=FALSE, $includereserved=TRUE, $showonlycurrentlyvalid=TRUE)
Check this is correct

Global contract_details ($id, $mode='internal')
FIXME not quite generic enough for a function ?

Global contract_unit_balance ($contractid, $includenonapproved=FALSE, $includereserved=TRUE, $showonlycurrentlyvalid=TRUE)
Check this is correct

Global country_drop_down ($name, $country, $extraattributes='')
TODO i18n country list (How do we do this?)

Global draw_chart_image ($type, $width, $height, $data, $legends, $title='', $unit='')
TODO Support for bar and line graphs

Global get_contract_balance ($contractid, $includenonapproved=FALSE, $showonlycurrentlyvalid=TRUE, $includereserved=TRUE)
FIXME add a param that makes this optionally show the incident pool balance in the case of non-timed type contracts

Global get_service_balance ($serviceid, $includeawaitingapproval=TRUE, $includereserved=TRUE)
Add param to take into account unapproved balances

Class Incident
FIXME move out of this file into incidents in SiT3.60, extend SitEntity and make more useful

Global incident_service_level ($incidentid)
Remove as of 4.0 in favour of incidents class

Global ldap_getDetails ($username, $searchOnEmail, &$ldap_conn)
TODO document this function

Global ldap_storeDetails ($password, $id=0, $user=TRUE, $populateOnly=FALSE, &$ldap_conn, $user_attributes)
TODO document this function

Global ldate ($format, $date= '', $utc=FALSE)
th/st and am/pm maybe?

Global quote_message ($message)
FIXME unfinished

Global saction_MailPreviousMonthsTransactions ()
TODO document this

Global sitetype_drop_down ($name, $id)
TODO i18n needed site types

Global supported_product_drop_down ($name, $contactid, $productid)
FIXME this should use the contract and not the contact

Global upload_file ($file, $incidentid, $updateid, $type='public')
FIXME this function doesn't seem to make use of $updateid and is never called, is it still used?'

Global user_contracts_table ($userid, $mode= 'internal')
TODO should this be renamed, it has nothing to do with users

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

© 2008-2011 Support Incident Tracker

Tsohost Logo