static
Class jMUI.util
static
null or integer
clock
(
pClockName,
)
The first time this is called for a unique ID, the clock starts ticking. Ont he second call with the same ID, the clock is stopped, the elapsed time is returned (in milliseconds) and the clock is deleted. So if you call the method a third time with the same ID, a new clock is started.
pClockName,
<string>
a unique ID
null or integer
static
string
cookie_value
(
pName
,
pDefault
)
pName
<string>
name of the cookie to get.
pDefault
<string>
default value, if the cookie value is not found.
string
static
bool
cookies_writable
(
)
bool
static
boolean
is_landing_page
(
pIgnoreDomains
)
A page is considered a landing page if it is not on the same domain as the referrer.
pIgnoreDomains
<array>
a list of domains to ignore; domains in this list will, for all intents and purposes, be considered the same domain as the current domain.
boolean
static
void
set_cookie_value
(
pName
,
pHours
,
pPath
,
pDomain
,
pValue
)
pName
<string>
name of the cookie to set.
pHours
<string|number|date>
how long should ht ecookie be vlaid for? "-" is forever; "." is no expiry date; "x" deletes the cookie; a number is hte number of hours the cookie is good for
pPath
<string>
path to set the cookie on.
pDomain
<string>
domain to set the cookie on.
pValue
<string>
value of the cookie to set.
void
static
string
url_parameter
(
pURL
,
pParameterName
,
pDefault
)
pURL
<string>
URL string to anlayze.
pParameterName
<string>
the name of the parameter to extract.
pDefault
<string>
default value, if the parameter value is not found.
string
static
void
wait_object
(
pObjectName
,
pCallBack
,
pArguments
)
pObjectName
<string>
the name of the intance to wait for; basically, the name of the variable.
pCallBack
<function>
the code to run when the instance is created.
pArguments
<array>
an array of arguments passed to the callback function.
void