|
PntHttpRequest |
PntRequestHandler |
PntSite |
PntStringConverter |
|
forwardRequest |
__construct |
_exists |
accessDenied |
buildUrl |
checkAccess |
checkAccessHandler |
createObjects |
forwardToHandler |
forwardToLoginPage |
getAppName |
getBaseUrl |
getContextHref |
getConverter |
getDebugMode |
getDir |
getDomainDir |
getErrorHandler |
getGlobalFilterFor |
getGlobalFilters |
getGlobalOptionsFilter |
getImagesDir |
getIncludesDir |
getInvalidActionTicketMessage |
getMaxTicketDiff |
getScout |
getSecurityManager |
getTryUseClassTryParams |
getUiDir |
guessContextTypeFolder |
handleRequest |
importLibraries |
initConverter |
initDatabaseConnection |
initHttpRequest |
initScout |
isFunkyUrls |
isWindows |
loadSettings |
sanitize |
setDir |
setDomainDir |
setErrorHandler |
setFunkyAlias |
setGlobalFilters |
startSession |
to be called
* @param $prop PntPropertyDescriptor $prop Teh property being accessed |
tryUseGenericHandlerClass |
|
/** Include and instantiate a PntRequestHandler and let it handle the request.
* For compatibility with older versions op phpPeanuts, the default database connection
* is initialized if that has not already been done.
* @param array $requestData like $_REQUEST used to decide which PntRequestHandler
* to include and instantiate, and passed to the PntRequestHandler as the requst data.
* @param string $information to be passed to the PntRequestHandler,
* usually overrides the pntInfo parameter if not null (this behavior depends on the actual PntRequestHandler)
*/
function ($requestData, $information=null) {
if (DatabaseConnection::defaultConnection() === null)
$this->();
$handler = $this->($requestData);
if ($information)
$handler->($information);
$this->($handler);
}
|
Copyright (c) MetaClass, 2003-
This code is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
Click here for a copy of the license or see http://www.gnu.org/licenses/ .
|
|