Home | About | Partners | Contact Us
VA Linux Systems

gcdb | API

File: gcdb.php

  • DATABASE API

    getDBConnection()

    DBquery(query, db)
    DBfetch_array(result)
    DBnum_rows(result)
    checkDBError(db)
    DBinsert_id(result, table, field, db)
    DBReport (result, title, return_url, return_link, db)

  • BILLING API

    untranslate_interval(charged)

    translate_interval(charged)

  • DOCUMENT API

    beginDocument(title, user)

    endDocument()

  • TABLE API

    beginPrettyTable()

    endPrettyTable()
    beginBorderedTable(colspan)
    endBorderedTable()

  • FORM API

    OpenForm(name, action)

    makeHiddenField(field, value)
    makeStaticField(field, value)
    makeTextField(field, name, value)
    makeLargeTextField(field, name, value)
    makeDropBox()
    makeArrayDropBox(field,name,current,array)
    makeSubmitter()
    closeForm()

  • SECURITY API

    adminify(sess_user, sess_admin)

  • LANGUAGE API

    checkLang(lang)