|
PntHttpRequest |
PntRequestHandler |
PntSite |
PntStringConverter |
|
getGlobalFilters |
__construct |
_exists |
accessDenied |
buildUrl |
checkAccess |
checkAccessHandler |
createObjects |
forwardRequest |
forwardToHandler |
forwardToLoginPage |
getAppName |
getBaseUrl |
getContextHref |
getConverter |
getDebugMode |
getDir |
getDomainDir |
getErrorHandler |
getGlobalFilterFor |
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 |
|
/** @return array of PntSqlFilter to be used in the entire application where applicable
* These filers are usually stored in te session.
* SearchPages will try to use the global filters, propertypages and parts will not,
* they may have to be overridden or the domain model has to be made global filter sensitive.
* Make sure to include eventual additional filter classes before calling this method
*/
function () {
if ($this->filters === null) {
Gen::includeClass('PntSqlFilter', 'pnt/db/query');
$this->filters = array();
if (isSet($_SESSION[$this->()]['pntGlobalFilters'])) {
$filterArrays = $_SESSION[$this->()]['pntGlobalFilters'];
foreach ($filterArrays as $key => $arr) {
$this->filters[$key] = PntSqlFilter::instanceFromPersistArray($arr);
}
}
}
return $this->filters;
}
|
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/ .
|
|