[Ismo.Core] element index

Package indexes

All elements
a c d e f g h i l n p r s t u _
_
top
$_config
A temporary place to store a configuration container, until it's passed the the state.
$_defaultLocale
The default locale (eg. en-us) the application uses.
$_defaultState
The default state.
$_domain
The cookie's domain.
$_expire
The cookie's expire time.
$_filters
The registered filters to call before processing a request.
$_fragment
The fragment.
$_headers
All the headers.
$_hiddenParameters
The hidden path info parameters.
$_host
The host name.
$_logger
The logger class used.
$_missingStateCallBack
This is an optional callback function (any callback PHP supports) called when a requested state can't be found.
$_name
The cookie's name.
$_name
The application's name.
$_pass
The password to use.
$_path
The cookie's path.
$_path
The path.
$_pathInfoParameters
The path info parameters.
$_pathParameters
The context path parameters in an indexed array.
$_pathParametersAssoc
The context path parameters in an associative array.
$_port
The port number to use.
$_queryParameters
The query parameters.
$_request
The IsmoRequest instance that represents this request.
$_schema
The scheme; http, https etc.
$_secure
The cookie's secure setting.
$_sessionIndicator
Indicator telling if the session parameter should be included in the generated URL or not.
$_sessionIndicator
Indicates if a session has been created/resumed or not.
$_skipLastPathInfoParameter
Indicates if the last path-info parameter should be omitted if possible.
$_stateLoader
The state loader to use.
$_supportedLocales
The locales (eg. en-us, fi_fi, se_se etc) the application supports.
$_URLStyle
The URL style to use when determining the state and action and also when generating new URLs.
$_user
The user name to use.
$_value
The cookie's value.
_addPathParameters
Adds path parameters to the url.
_deduceState
Figures out the state.
_dispatch
Dispatches the request to the right state class.
_getAllHeaders
Returns all HTTP_* headers.
_getAllHeadersHelper
Helper function for my_getallheaders.
_getPathInfoString
Returns the path info parameters as a string.
_getQueryString
Returns the query parameters as a string.
_init
Initializes the class.
_stateMissing
Missing state handler.
a
top
addCookie
Adds the specified cookie to the response.
addHeader
Adds a response header with the given name and value.
addParameter
Adds a query parameter to the url.
addPathParameter
Adds a path parameter to the url.
addPathParametersArray
Adds path parameters to the url, using an indexed array.
addPathParametersAssoc
Adds path parameters to the url, using an assoc. array.
Application.php
Application.php in Application.php
c
top
close
Closes the log.
Cookie.php
Cookie.php in Cookie.php
create
Starts a new session.
d
top
deleteCookie
Deletes the specified cookie from the response.
destroy
Destroys the session.
e
top
Error.php
Error.php in Error.php
execute
Handles the request by executing the right action method.
f
top
Filter.php
Filter.php in Filter.php
filter
The function that decides if the request is passed on or not.
g
top
get
Gets something previously stored in the session.
getCharacterEncoding
Gets the used character encoding.
getContentLength
Gets the content length.
getContentType
Gets the content type.
getContextPath
Returns the context path.
getCookies
Gets the available cookies.
getDefaultLocale
Gets the default locale for the application.
getDomain
Returns the cookie's domain or "" if it's not set.
getExpire
Returns the cookie's expire time or 0 if it's not set.
getHeader
Gets the value of header.
getHeaderNames
Gets all the header names.
getHeaders
Gets all the headers.
getIP
Gets the ip address.
getLocale
Deduces the clients preferred locale.
getMethod
Gets the request method.
getName
Returns the cookie's name or "" if it's not set.
getParameter
Returns the parameter from the request parameters if it's available.
getParameterArray
Returns an array containing the name-value pair of the parameters.
getParameterNames
Returns the names of the available parameters.
getPath
Returns the cookie's path or "" if it's not set.
getPathParameter
Returns the path info parameter from the request.
getPathParameterAt
Returns the path info parameter from the request at the specified position.
getPathParametersArray
Returns the path info parameters from the request in an indexed array.
getPathParametersAssoc
Returns the path info parameters from the request in an associative array.
getProtocol
Gets the protocol.
getQueryString
Gets the query string.
getRemoteAddress
Gets the remove address.
getRemoteHost
Gets the remove host.
getRequestedSessionId
Returns the session id in used for the current session.
getServerName
Gets the server name.
getServerPort
Gets the port number.
getSupportedLocales
Gets the supported locales for the application.
getValue
Returns the cookie's value or "" if it's not set.
h
top
has
Checks if something is available in the session with the asked for key.
hasSession
Checks if this IsmoSession instance has a valid client session or not.
i
top
Ismo_Core_Application
The constructor.
Ismo_Core_Application
Ismo_Core_Application in Application.php
This is the class that receives the request and forwards it to the right IsmoState class.
Ismo_Core_applicationDispatchErrorHandler
This error handler is used in the IsmoApplication class when dispatching to a state class.
Ismo_Core_Cookie
Constructor
Ismo_Core_Cookie
Ismo_Core_Cookie in Cookie.php
This class is supposted to make dealing with cookies easier.
Ismo_Core_execErrorHandler
This is the error handler used for handling errors occuring the the exec-methods.
Ismo_Core_Filter
The constructor.
Ismo_Core_Filter
Ismo_Core_Filter in Filter.php
The filter super class.
Ismo_Core_NullLogger
Ismo_Core_NullLogger in NullLogger.php
The default log class.
Ismo_Core_NullLogger
The constructor.
ISMO_CORE_PATHINFO_STYLE
ISMO_CORE_PATHINFO_STYLE in Application.php
Constant for identifying the path-info based URL style.
ISMO_CORE_QUERY_STYLE
ISMO_CORE_QUERY_STYLE in Application.php
Constant for identifying the query parameter based URL style.
Ismo_Core_Request
The constructor.
Ismo_Core_Request
Ismo_Core_Request in Request.php
This class represents one HTTP request.
Ismo_Core_Response
Constructor, creates a new Ismo_Core_Response.
Ismo_Core_Response
Ismo_Core_Response in Response.php
Represents the response sent back to the browser.
Ismo_Core_Session
Ismo_Core_Session in Session.php
This class represents a session, a way to contain information between multiple requests from one client.
Ismo_Core_Session
The constructor. Resumes a session if a session is available.
Ismo_Core_systemErrorHandler
This is Ismo's system error handler.
Ismo_Core_Url
Ismo_Core_Url in Url.php
This class makes handling URL:s easy.
Ismo_Core_Url
The constructor.
isPathParameterSet
Checks if a path parameter is set.
isRequestedSessionIdFromCookie
Checks if the session id came from a cookie.
isRequestedSessionIdFromUrl
Checks if the session id came from the URL.
isSecure
Indicates wheather the current request is secure or not.
isSecure
Returns whether the cookie is secure or not.
isSessionAvailable
Checks if a session is available for resuming.
l
top
log
Ismo_Core_NullLogger::log() in NullLogger.php
Logs a message.
n
top
NullLogger.php
NullLogger.php in NullLogger.php
p
top
PEAR_LOG_ALERT
PEAR_LOG_ALERT in NullLogger.php
Log level: alert.
PEAR_LOG_CRIT
PEAR_LOG_CRIT in NullLogger.php
Log level: critical.
PEAR_LOG_DEBUG
PEAR_LOG_DEBUG in NullLogger.php
Log level: debug.
PEAR_LOG_EMERG
PEAR_LOG_EMERG in NullLogger.php
Log level: emergency.
PEAR_LOG_ERR
PEAR_LOG_ERR in NullLogger.php
Log level: error.
PEAR_LOG_INFO
PEAR_LOG_INFO in NullLogger.php
Log level: info.
PEAR_LOG_NOTICE
PEAR_LOG_NOTICE in NullLogger.php
Log level: notice.
PEAR_LOG_WARNING
PEAR_LOG_WARNING in NullLogger.php
Log level: warning.
put
Puts something to be saved in the session.
r
top
Request.php
Request.php in Request.php
Response.php
Response.php in Response.php
registerFilter
Registers a filter.
remove
Removes the stored object from the session.
removeParameter
Removes a parameter from the url.
removePathParameter
Removes a path info parameter from the url.
s
top
Session.php
Session.php in Session.php
sendError
Sends an error response to the client using the specified status code.
sendRedirect
Sends a temporary redirect respones to the client using the specifed redirect URL.
setConfiguration
Set the configuration to pass to the state instance.
setDefaultLocale
Sets the default locale for the application.
setDefaultState
This sets the application's default state.
setDomain
Sets the cookie's domain.
setExpire
Sets the cookie's expire time.
setLogger
This sets the log class being used.
setMissingStateCallBack
Set a callback function for missing state errors.
setName
Sets the cookie's name.
setPath
Sets the cookie's path.
setRequest
This sets the request class instance to use.
setSecure
Sets whether the cookie is secure or not.
setStateLoader
This sets the loader class to use.
setStatus
Sets the status code for this request.
setSupportedLocales
Sets the locales supported by the application.
setURLStyle
Controls which kind of URL style that will be used.
setValue
Sets the cookie's value.
t
top
toString
Returns the URL in a string format suitable to put in HTML.
u
top
Url.php
Url.php in Url.php
a c d e f g h i l n p r s t u _