clearFusionCMS 3.0.0
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • clearFusionCMS
    • module
      • cloudflare
      • comments
      • content
      • forms
      • members
      • search
  • fusionLib
  • None

Classes

  • _flFormGroup
  • _flUtf8Base
  • flAcMgr
  • flApiDbInstaller
  • flApiKeyMgr
  • flApiServer
  • flApiService
  • flApp
  • flAuthTOTP
  • flBufferCode
  • flBufferCss
  • flBufferJs
  • flCache
  • flCacheAPC
  • flCacheDb
  • flCacheDbInstaller
  • flCacheDummy
  • flCacheFile
  • flCacheFunction
  • flCacheMemcache
  • flCacheMemcached
  • flCacheOutput
  • flCacheRedis
  • flCacheSqlite
  • flConfig
  • flConfigDb
  • flConfigDbInstaller
  • flConfigFile
  • flConfigIni
  • flController
  • flControllerAction
  • flDate
  • flDateTzMenu
  • flDb
  • flDbInstaller
  • flDbInstallerInterface
  • flDbMySQL
  • flDbMySQLi
  • flDbMySQLiResult
  • flDbMySQLResult
  • flDbNestedSet
  • flDbResult
  • flDbSQLite
  • flDbSQLite3
  • flDbSQLite3Result
  • flDbSQLiteResult
  • flEmail
  • flEvent
  • flEventDbInstaller
  • flEventManager
  • flExceptionErrorController
  • flExceptionReporter
  • flForm
  • flFormBuilder
  • flFormDecorator
  • flFormDecoratorDl
  • flFormDecoratorDtDd
  • flFormDecoratorFieldset
  • flFormDecoratorForm
  • flFormDecoratorLi
  • flFormDecoratorList
  • flFormDecoratorUl
  • flFormElement
  • flFormElementButton
  • flFormElementCheckbox
  • flFormElementChecklist
  • flFormElementEmail
  • flFormElementFile
  • flFormElementHidden
  • flFormElementImage
  • flFormElementInteger
  • flFormElementNumber
  • flFormElementPane
  • flFormElementPassword
  • flFormElementRadio
  • flFormElementRecaptcha
  • flFormElementSearch
  • flFormElementSelect
  • flFormElementSubmit
  • flFormElementText
  • flFormElementTextArea
  • flFormElementTextSuggest
  • flFormElementUri
  • flFormElementWYSIWYG
  • flFormValidator
  • flFormValidatorAttribMax
  • flFormValidatorAttribMin
  • flFormValidatorCustomJS
  • flFormValidatorEmail
  • flFormValidatorEquals
  • flFormValidatorInteger
  • flFormValidatorMax
  • flFormValidatorMaxChecklist
  • flFormValidatorMaxLength
  • flFormValidatorMin
  • flFormValidatorMinChecklist
  • flFormValidatorMinLength
  • flFormValidatorMultiEmail
  • flFormValidatorNotEquals
  • flFormValidatorNumber
  • flFormValidatorRegex
  • flFormValidatorRequired
  • flFormValidatorSameAs
  • flFormValidatorUri
  • flFtpClient
  • flGravatar
  • flHttpClient
  • flHttpClientCookie
  • flImage
  • flImageFilter
  • flImageFilterBrightness
  • flImageFilterColorize
  • flImageFilterContrast
  • flImageFilterEdgeDetect
  • flImageFilterEmboss
  • flImageFilterGaussianBlur
  • flImageFilterGrayscale
  • flImageFilterMeanRemoval
  • flImageFilterNegative
  • flImageFilterPixelate
  • flImageFilterSelectiveBlur
  • flImageFilterSepia
  • flImageFilterSepia2
  • flImageFilterSmooth
  • flIntegrity
  • flKeygen
  • flLog
  • flLogHandlerChrome
  • flLogHandlerLoggly
  • flLogHandlerPapertrail
  • flLogHandlerSlack
  • flMimeTypes
  • flModuleDbInstaller
  • flModuleMgr
  • flRegistry
  • flRequest
  • flRequestDbInstaller
  • flRequestThrottle
  • flResponse
  • flRouter
  • flRouterRoute
  • flRssChannel
  • flRssClient
  • flRssItem
  • flSearch
  • flSearchIndexer
  • flSearchManager
  • flSearchResults
  • flSearchTags
  • flSession
  • flSessionData
  • flSessionDb
  • flSessionDbInstaller
  • flSessionFile
  • flSessionMemcache
  • flSessionMemcached
  • flSessionRedis
  • flTemplateDbInstaller
  • flTemplateEngine
  • flTemplateManager
  • flTextHTML
  • flTextSplitWords
  • flTextStemmer
  • flTextStemmerEn
  • flTextStrip
  • flTimer
  • flUri
  • flUser
  • flUserAdapter
  • flUserAdapterRemote
  • flUserDbInstaller
  • flUserMgr
  • flUserPwdGen
  • flUserServerApiV1
  • flUtf8
  • flUuid
  • flVariables
  • flVariablesDbInstaller
  • flWidgetBreadcrumb
  • flWidgetFloatingActionMenu
  • flWidgetPagination
  • flWidgetTable
  • flWidgetTabs
  • flWidgetToolbar
  • flWidgetTreeChildNode
  • flWidgetTreeLinkNode
  • flWidgetTreeNode
  • flWidgetTreeView
  • fusionLib

Interfaces

  • flFormElementWYSIWYGCodeInterface
  • flFormElementWYSIWYGInterface
  • flFormElementWYSIWYGTransformInterface
  • flLogHandler
  • flModuleInstallInterface

Exceptions

  • flAcException
  • flAppException
  • flCacheException
  • flConfigException
  • flDateException
  • flDbException
  • flEventException
  • flException
  • flExceptionBadRequest
  • flExceptionForbidden
  • flExceptionLoadClass
  • flExceptionNotFound
  • flExceptionPHP
  • flFormException
  • flHttpClientException
  • flImageException
  • flRegistryException
  • flRequestThrottleException
  • flRouterException
  • flSessionException
  • flTemplateEngineException
  • flUserException
  • flVariablesException
  • flWidgetException

Functions

  • __
  • __noop
  • _flErrorHandler
  • _n
  • _n_noop

Class flResponse

flResponse Class

Class to provide responses to requests.

Package: fusionLib
Copyright: Copyright (c) 2008 - 2013 fusionLib. All rights reserved.
Located at system/libs/Response/flResponse.php

Methods summary

public
# __construct( )

Construct the response object.

Construct the response object.

public flResponse
# compressOutput( boolean $enable )

Flags if output should be compressed when sending to the browser.

Flags if output should be compressed when sending to the browser.

Parameters

$enable
true to compress output.

Returns

flResponse
This object.
public flResponse
# setStatusCode( integer $code )

Set the status code to return.

Set the status code to return.

Parameters

$code
The HTTP status code to return.

Returns

flResponse
This object.
public flResponse
# setHeader( string $name, string $value, boolean $replace = true )

Set a HTTP header.

Set a HTTP header.

Parameters

$name
The name of the header to set.
$value
The value to set for the header.
$replace
true to replace the previous value if any.

Returns

flResponse
This object.
public
# clearHeaders( )

Clear the current headers.

Clear the current headers.

public flResponse
# setContentType( string $type )

Set the content type.

Set the content type.

Parameters

$type
The content type or null to not send.

Returns

flResponse
This object.
public flResponse
# setCharset( string $charset )

Set the charset.

Set the charset.

Parameters

$charset
The charset or null to not send.

Returns

flResponse
This object.
public flResponse
# noCache( boolean $cacheDisable = true )

Flag to send headers to disable caching.

Flag to send headers to disable caching.

Parameters

$cacheDisable
true to disable caching or false to allow caching.

Returns

flResponse
This object.
public flResponse
# setCookie( string $name, string $value, integer $expire = 0, string $domain = '', string $path = '/', boolean $secure = false, boolean $httpOnly = false )

Set a cookie.

Set a cookie.

Parameters

$name
The name of the cookie.
$value
The value to set.
$expire

The number of seconds until the cookie expires, 0 if the cookie should expire at the end of the session, negative value to delete cookie.

$domain
The domain to set the cookie on.
$path
The path for the cookie.
$secure
Flags if the cookie should be available over https only.
$httpOnly
Flags if the cookie is only available via http protocol, true.

Returns

flResponse
This object.
public
# redirectTo( string $uri, boolean $permanent = false )

Issue a redirect header to the browser, this function never returns.

Issue a redirect header to the browser, this function never returns.

Parameters

$uri
The absolute URI to redirect to.
$permanent
Flags if to issue a temporary, 302, move (false) or a permanent 301 move (true).
public flResponse
# setLastModified( integer $timestamp )

Set the last modified date and time header.

Set the last modified date and time header.

If the request contains an If-Modified-Since header with a matching time stamp then 304 Not Modified is returned and the application exits.

Parameters

$timestamp
The Unix timestamp when the page was last modified.

Returns

flResponse
This object.

See

http://www.zend.com/zend/spotlight/dynamic-pages.php?article=dynamic-pages&id=990
public
# sendHeaders( )

Send headers to the client.

Send headers to the client.

public flResponse
# setBody( string $content )

Set the body content.

Set the body content.

Parameters

$content
The content to set.

Returns

flResponse
This object.
public
# sendResponse( )

Send the response to the browser.

Send the response to the browser.

clearFusionCMS 3.0.0 API documentation generated by ApiGen