|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.module.AbstractQuercusModule
com.caucho.quercus.lib.UrlModule
public class UrlModule
PHP URL
Field Summary | |
---|---|
static int |
PHP_URL_FRAGMENT
|
static int |
PHP_URL_HOST
|
static int |
PHP_URL_PASS
|
static int |
PHP_URL_PATH
|
static int |
PHP_URL_PORT
|
static int |
PHP_URL_QUERY
|
static int |
PHP_URL_SCHEME
|
static int |
PHP_URL_USER
|
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
Constructor Summary | |
---|---|
UrlModule()
|
Method Summary | |
---|---|
static Value |
base64_decode(Env env,
StringValue str,
boolean isStrict)
Decodes base64 |
static java.lang.String |
base64_encode(StringValue s)
Encodes base64 |
static Value |
get_headers(Env env,
java.lang.String urlString,
Value format)
Connects to the given URL using a HEAD request to retreive the headers sent in the response. |
static Value |
get_meta_tags(Env env,
StringValue filename,
boolean useIncludePath)
Extracts the meta tags from a file and returns them as an array. |
static Value |
http_build_query(Env env,
Value obj,
Value formdata,
StringValue numeric_prefix,
StringValue separator)
|
static Value |
parse_url(Env env,
StringValue str,
int component)
Parses the URL into an array. |
static java.lang.String |
rawurldecode(java.lang.String s)
Returns the decoded string. |
static java.lang.String |
rawurlencode(java.lang.String str)
Encodes the url |
static java.lang.String |
urldecode(java.lang.String s)
Returns the decoded string. |
static StringValue |
urlencode(StringValue str)
Gets the magic quotes value. |
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
---|
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions, getLoadedExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PHP_URL_SCHEME
public static final int PHP_URL_HOST
public static final int PHP_URL_PORT
public static final int PHP_URL_USER
public static final int PHP_URL_PASS
public static final int PHP_URL_PATH
public static final int PHP_URL_QUERY
public static final int PHP_URL_FRAGMENT
Constructor Detail |
---|
public UrlModule()
Method Detail |
---|
public static java.lang.String base64_encode(StringValue s)
public static Value base64_decode(Env env, StringValue str, boolean isStrict)
public static Value get_headers(Env env, java.lang.String urlString, Value format)
public static Value get_meta_tags(Env env, StringValue filename, boolean useIncludePath)
public static Value http_build_query(Env env, Value obj, Value formdata, StringValue numeric_prefix, StringValue separator)
public static Value parse_url(Env env, StringValue str, int component)
public static java.lang.String rawurldecode(java.lang.String s)
public static java.lang.String rawurlencode(java.lang.String str)
public static StringValue urlencode(StringValue str)
public static java.lang.String urldecode(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |