PHP2Go Javascript Framework

compat.js

Summary

This library contains the old PHP2Go Javascript functions, so that we can keep backwards compatibility in running applications. These functions were choosen by their relevance. All other functions were dropped - if you must use them, you should rewrite and place them in the application's source tree


Method Summary
static void addEvent(el, name, func)
          
static void addOption(frm, fld, value, text, pos)
          
static Object capitalizeWords(val)
          
static void changeILayerUrl(elm, url)
          
static void clearForm(frm, editor, readonly, subset)
          
static void clearOptions(frm, fld)
          
static void createOptionsFromString(str, frm, fld, ls, cs, idx)
          
static Object createWindow(url, wid, hei, x, y, tit, type, evt, ret)
          
static void deleteCookie(name)
          
static void disableField(frm, fld)
          
static void disableFieldList(frm, list)
          
static void enableField(frm, fld)
          
static void enableFieldList(frm, list)
          
static Object getAbsolutePos(el)
          
static void getCheckboxValue(frm, fld)
          
static Object getCookie(name)
          
static Object getDivHeight(elm)
          
static Object getDivLeft(elm)
          
static Object getDivTop(elm)
          
static Object getDivWidth(elm)
          
static void getDocumentObject(n, d)
          
static Object getFormFieldObj(frm, fld)
          
static Object getFormFieldValue(frm, fld)
          
static Object getFormObj(frm)
          
static Object getILayerHeight(elm)
          
static Object getILayerWidth(elm)
          
static Object getRadioOptions(frm, fld)
          
static void getSelectedRadioOption(frm, fld)
          
static Object getStyleAttribute(el, name)
          
static Object isEmpty(frm, fld)
          
static void moveDivTo(elm, x, y)
          
static void requestFocus(frm, fld)
          
static void scrollILayerXTo(elm, x)
          
static void scrollILayerYTo(elm, y)
          
static void selectOptionByCaption(frm, fld, text)
          
static void setBackgroundColor(el, color)
          
static void setCookie()
          
static void setDivVisibilities(elms, visible)
          
static void setDivVisibility(elm, visible)
          
static void setStyleAttribute(el, name, value)
          
static void showHideLayer()
          
static void stopEvent(e)
          
static Object stringReplace()
          
static Object trim(val)
          
static void writeToDiv(elm, op, cl)
          

PHP2Go Javascript Framework


Copyright © 2002-2006 by Marcos Pont
Documentation generated by JSDoc on Sun Oct 7 19:52:10 2007