listmethods() is a method that lists the methods of a given type. Requires a type as the parameter.
Type->listmethods
Use the listmethods() method. The following example lists all the methods for a web_request type.
Code
iterate(web_request->listmethods, local(i))
#i+'<br>'
/iterate
Result
null->escape_member(p0::tag) null->oncompare(p0) any->oncompare(p::pair) null->sameas(p0) null->isa(p0::tag) null->isa(e::string) null->ascopy() null->asstring() null->ascopydeep() null->type() null->trait() null->parent() null->settrait(p0::trait, p1::boolean) null->settrait(t::trait) null->oncreate() web_request_impl->oncreate(fcgi::web_connection) null->listmethods() null->hasmethod(p0::tag) null->trait=(t::trait) null->invoke() null->addTrait(t::trait) any->isNotA(test::tag) any->isAllOf(...these) any->isAnyOf(...these) web_request_impl->'cachedAppPrefix'() web_request_impl->'cachedAppPrefix'=(cachedAppPrefix) web_request_impl->cachedAppPrefix() web_request_impl->cachedAppPrefix=(cachedAppPrefix) web_request_impl->'cachedRoot'() web_request_impl->'cachedRoot'=(cachedRoot) web_request_impl->cachedRoot() web_request_impl->cachedRoot=(cachedRoot) web_request_impl->'cookiesAry'() web_request_impl->'cookiesAry'=(cookiesAry) web_request_impl->cookiesAry() web_request_impl->cookiesAry=(cookiesAry) web_request_impl->'fcgiReq'() web_request_impl->'fcgiReq'=(fcgiReq) web_request_impl->fcgiReq() web_request_impl->fcgiReq=(fcgiReq) web_request_impl->'fileUploadsAry'() web_request_impl->'fileUploadsAry'=(fileUploadsAry) web_request_impl->fileUploadsAry() web_request_impl->fileUploadsAry=(fileUploadsAry) web_request_impl->'headersMap'() web_request_impl->'headersMap'=(headersMap) web_request_impl->headersMap() web_request_impl->headersMap=(headersMap) web_request_impl->'httpAuthorization'() web_request_impl->'httpAuthorization'=(httpAuthorization) web_request_impl->httpAuthorization() web_request_impl->httpAuthorization=(httpAuthorization) web_request_impl->'postParamsAry'() web_request_impl->'postParamsAry'=(postParamsAry) web_request_impl->postParamsAry() web_request_impl->postParamsAry=(postParamsAry) web_request_impl->'queryParamsAry'() web_request_impl->'queryParamsAry'=(queryParamsAry) web_request_impl->queryParamsAry() web_request_impl->queryParamsAry=(queryParamsAry) web_request_impl->documentRoot() web_request_impl->appPrefix() web_request_impl->httpConnection() web_request_impl->httpCookie() web_request_impl->httpHost() web_request_impl->httpUserAgent() web_request_impl->httpCacheControl() web_request_impl->httpReferer() web_request_impl->httpReferrer() web_request_impl->contentLength() web_request_impl->contentType() web_request_impl->path() web_request_impl->pathTranslated() web_request_impl->remoteAddr() web_request_impl->remotePort() web_request_impl->requestMethod() web_request_impl->requestURI() web_request_impl->scriptFilename() web_request_impl->scriptName() web_request_impl->scriptURI() web_request_impl->scriptURL() web_request_impl->serverAddr() web_request_impl->serverAdmin() web_request_impl->serverName() web_request_impl->serverPort() web_request_impl->serverProtocol() web_request_impl->serverSignature() web_request_impl->serverSoftware() web_request_impl->pathInfo() web_request_impl->gatewayInterface() web_request_impl->httpAccept() web_request_impl->httpAcceptEncoding() web_request_impl->httpAcceptLanguage() web_request_impl->cookies() web_request_impl->cookie(named::string) web_request_impl->headers() web_request_impl->header(name::string) web_request_impl->queryParam(name::string) web_request_impl->postParam(name::string) web_request_impl->param(name::string) web_request_impl->param(name::string, joiner) web_request_impl->queryParams() web_request_impl->queryString() web_request_impl->postparams() web_request_impl->postString() web_request_impl->params() web_request_impl->fileUploads() web_request_impl->isXHR() web_request_impl->raw() web_request_impl->extract(data, field) any->properties()
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments