Die AFP3 arbeitet mit mehreren Objekten an denen sowohl Properties als auch Methoden angeschlossen sind.
Die AFPX verwendet nur das Objekt "fox" und alle Methoden und Properties hängen an diesem Objekt.
Der Einfachheit halber wurden die Methoden und Properties einfach nur auf die jeweiligen Methoden und Properties der AFPX umgeleitet.
zB entspricht der request.querystring() dem fox.querystring(), welches genau genommen nur wegen der Namensgleichheit existiert und sich die Daten via fox.getpar() holt.
Gleiches gilt auch für request.form() -> fox.form()
Hier die Auflistung der Objekte mit deren Methoden und Properties. Manche Methode wurde nicht komplett nachgebildet oder blieb leer, weil sie nicht gebraucht wurde, oder technisch nicht nachzubauen war.
app
DoCmd() -> fox.execute(tcstring)
Finally()
GetData() fox.SessionGetData(tckey)
LoadVariables() fox.SessionGetData("Variables")
SaveVariables() fox.SessionSetData(tc1,"Variables")
SetData() fox.SessionSetData(tcdata,tckey)
Unload() Execscript(This.cfinally)
applications
Get
cache
ActivateVersion()
CallFXP()
GetCacheName()
GetCurrentCacheName()
GetNewVersion()
GetVersionCacheName()
cookies
Add()
Remove()
document
cApplication=""
lCompileApplication=.F.
lLoadVariables=.F.
lNeedsCompile=.F.
lSaveVariables=.F.
lExecutePage=.F.
Finally()
error
lshowerror = .F.
ErrorInfo=""
cAction=""
cAfpSource=""
cCompiledSource=""
cDetail=""
cExceptionText=""
cFile=""
cHttpError=""
cMemory=""
cMessage=""
cmethod=""
cStatus=""
nerror=0
nHttpError=0
nLine=0
Stack=0
ShowError()
ErrorHtml()
file
cLocation -> fox.cPathTranslated
cVirtualLocation -> fox.cPathInfo
cHost -> fox.getservervariable("HTTP_HOST")
AddExtension()
Clone()
Fullpath() fox.Fullpath(tc1)
GetCacheName() Justfname(fox.ctempfile)
GetLocation() Justpath(This.cLocation)
IsRootPath() Directory(tc1)
Relative()
Reset()
ResetFromNode()
ResolveRelative()
http
Get
Post
path
cCache=fox.cProgdir
cCommon=fox.cmaindir
cLog=fox.cmaindir
cRoot=fox.cmaindir
cSession=fox.csessiondir
MakePath()
request
cdata=fox.cdata
cform=""
cQueryString=fox.cparameter
cookies() -> fox.gethttpcookie(tc1)
Form() -> fox.Form()
GetCurrentFile() -> fox.cform1
MultiPart()
querystring() -> fox.querystring()
Reset()
ResetAll()
ResetQueryString() -> fox.fillaparam()
ServerVariables() -> fox.getservervariable(tc1)
response
cookies = .Null.
ContentType=fox.ccontenttype
Expires={^1901-01-01}
lhttpcookie=fox.lhttpcookie
Status=""
server
session
thread
threadstate