Home
About
Testimonials
Demos
Download
Documentation
Blogs
Forum
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Web
Inheritance:
TComponent
»
TApplicationComponent
»
TModule
»
THttpResponse
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
Adapter
THttpResponseAdapter
response adapter, null if not exist.
R
Application
TApplication
current application instance. (inherited from
TApplicationComponent
)
BufferOutput
boolean
whether to enable output buffer.
CacheControl
string
cache control method to use for session pages.
CacheExpire
integer
time-to-live for cached session pages in minutes, this has no effect for nocache limiter.
Charset
string
output charset.
ContentType
string
current content type.
R
Contents
string
Returns the content in the output buffer.
R
Cookies
THttpCookieCollection
list of output cookies.
R
HasAdapter
boolean
true if adapter exists, false otherwise.
HtmlWriterType
string
the type of HTML writer to be used, defaults to THtmlWriter.
ID
string
id of this module. (inherited from
TModule
)
R
Request
THttpRequest
the current user request. (inherited from
TApplicationComponent
)
R
Response
THttpResponse
the response. (inherited from
TApplicationComponent
)
R
Service
IService
the current service. (inherited from
TApplicationComponent
)
R
Session
THttpSession
user session. (inherited from
TApplicationComponent
)
StatusCode
integer
HTTP status code, defaults to 200.
R
StatusReason
{unknown}
.
R
User
IUser
information about the current user. (inherited from
TApplicationComponent
)
Events
Methods
Name
Description
addCookie
Sends a cookie.
addParsedObject
Processes an object that is created during parsing template. (inherited from
TComponent
)
appendHeader
Sends a header.
appendLog
Writes a log message into error log.
attachEventHandler
Attaches an event handler to an event. (inherited from
TComponent
)
canGetProperty
Determines whether a property can be read. (inherited from
TComponent
)
canSetProperty
Determines whether a property can be set. (inherited from
TComponent
)
clear
Clears any existing buffered content.
createHtmlWriter
Creates a new instance of HTML writer.
createNewHtmlWriter
Create a new html writer instance.
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
evaluateExpression
Evaluates a PHP expression in the context of this control. (inherited from
TComponent
)
evaluateStatements
Evaluates a list of PHP statements. (inherited from
TComponent
)
flush
Flush the response contents and headers.
flushContent
Outputs the buffered content, sends content-type and charset header.
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
hasEvent
Determines whether an event is defined. (inherited from
TComponent
)
hasEventHandler
whether an event has been attached one or several handlers. (inherited from
TComponent
)
hasProperty
Determines whether a property is defined. (inherited from
TComponent
)
httpRedirect
Redirect the browser to another URL and exists the current application.
init
Initializes the module.
publishAsset
Publishes a private asset and gets its URL. (inherited from
TApplicationComponent
)
publishFilePath
Publishes a file or directory and returns its URL. (inherited from
TApplicationComponent
)
raiseEvent
Raises an event. (inherited from
TComponent
)
redirect
Redirects the browser to the specified URL.
reload
Reloads the current page.
removeCookie
Deletes a cookie.
P
sendContentTypeHeader
Sends content type header if charset is not empty.
P
sendHttpHeader
Send the HTTP header with the status code (defaults to 200) and status reason (defaults to OK).
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
write
Outputs a string.
writeFile
Sends a file back to user.
Derived classes
Vegas Hotel
|
Credit Counseling
|
Remortgage
|
Business Gifts
|
Car Credit