|
PHP2Go Javascript Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--PHP2Go
Defined in php2go.js
| Field Summary | |
String |
baseUrl
Base URL of the PHP2Go Javascript Framework |
Object |
browser
Contains information about the user's navigator and OS |
String |
locale
Active locale code |
<static> Object |
nativeEventExtension
|
| Method Summary | |
Boolean
|
compare(<Object> a, <Object> b, <String> op, <String> type)
Utility method to compare values using a given operator and a given datatype. |
void
|
eval(str)
Evaluates a Javascript string in global context |
void
|
include(<String> lib, <String> charset)
Includes a given JS libray |
void
|
load()
Framework's initialization routine. |
Function
|
method(<Object> obj, <String> method)
Builds a reference to an object's method. |
Object
|
raiseException(msg, name)
Raise a custom exception |
String
|
uid(<String> pfx)
UID generator function. |
| Field Detail |
String baseUrl
Object browser
String locale
<static> Object nativeEventExtension
| Method Detail |
Boolean compare(<Object> a, <Object> b, <String> op, <String> type)
a - Left operand
b - Right operand
op - Operator (EQ, NEQ, LT, LOET, GT, GOET)
type - Data type
void eval(str)
Javascript - string
void include(<String> lib, <String> charset)
lib - Library path
charset - Library charset
void load()
Function method(<Object> obj, <String> method)
obj - Object
method - Method name
Object raiseException(msg, name)
Exception - message
Exception - name (optional)
String uid(<String> pfx)
pfx - UID prefix
|
PHP2Go Javascript Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||