phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
Public Member Functions
Site Class Reference

Inherits PntSite.

Public Member Functions

 getShopEmail ()
 
- Public Member Functions inherited from PntSite
 __construct ($dir="beheer")
 
 isWindows ()
 
 setErrorHandler ()
 
 getErrorHandler ()
 
 loadSettings ()
 
 importLibraries ()
 
 createObjects ()
 
 initConverter ()
 
 initHttpRequest ()
 
 setDir ($value)
 
 getDir ()
 
 setDomainDir ($value)
 
 getDomainDir ($type=null)
 
 getUiDir ($type, $domainDir, $pntHandler)
 
 getAppName ($domainDir='', $type='', $pntHandler='')
 
 getBaseUrl ()
 
 getImagesDir ()
 
 isFunkyUrls ()
 
 setFunkyAlias ($value)
 
 getConverter ()
 
 getDebugMode ()
 
 handleRequest ()
 
 forwardRequest ($requestData, $information=null)
 
 forwardToHandler ($requestHandler)
 
 tryUseGenericHandlerClass ($forHandler, $requestData, $handler, &$attempted)
 
 sanitize ($requestString)
 
 startSession ()
 
 getGlobalFilters ()
 
 setGlobalFilters (&$filters)
 
 getGlobalFilterFor ($type, $persistent=false)
 
 getGlobalOptionsFilter ($type, $propName)
 
 getTryUseClassTryParams ($className, $dir)
 
 getIncludesDir ()
 
 initScout ()
 
 getScout ()
 
 getContextHref ($footprintId)
 
 guessContextTypeFolder ($type)
 
 getSecurityManager ()
 
 forwardToLoginPage ($requestData, $errorMessage=null)
 
 checkAccessHandler ($handler, $checkType=null, $prop=null)
 
 accessDenied ($handler, $errorMessage)
 
 getMaxTicketDiff ()
 
 getInvalidActionTicketMessage ()
 
 initDatabaseConnection ()
 
 buildUrl ($params, $appName=null)
 
- Public Member Functions inherited from PntPage
 getInfoStyle ()
 
 setInfoStyle ($value)
 
 printHeader ()
 
 printFooter ()
 
 printBodyTagIeExtraPiece ()
 
 includeSkin ($name, $param=null)
 
 printSetTitle ($title=null)
 
 getButton ($caption, $script, $ghost=false, $len=null)
 
 handleRequest ()
 
 getPartId ()
 
 ajaxHandleRequest ()
 
 ajaxPrintHeaders ()
 
 ajaxPrintUpdates ($preFix='')
 
 getAjaxUpdatePartIds ()
 
 getAjaxUpdateSubPartIds ($prefix)
 
 ajaxShouldUpdate ($partId, $partName=null, $extraParam=null)
 
 ajaxPrintPartUpdate ($partName, $partId=null, $extraParam=null)
 
 isRequestAjax ()
 
 ajaxPrintPartAttributes ()
 
 getAjaxLoadingMessage ()
 
 initForHandleRequest ()
 
 checkAccess ()
 
 isLayoutReport ()
 
 printHeaders ()
 
 printHeaderXframeOptions ()
 
 getCharset ()
 
 printBody ()
 
 printMainPart ()
 
 printPart ($partName)
 
 imp_printPart ($args)
 
 getPart ($args, $cache=true)
 
 getPartIncludeTryParams ($partName)
 
 getSpecificPartPrefix ($partName=null)
 
 printPartDebugComment ($partName, $debug)
 
 printInformationPart ()
 
 getFilterPartString ()
 
 getButtonsList ()
 
 addMultiValuePropertyButtons (&$buttons)
 
 getExcludedMultiValuePropButtonKeys ()
 
 getMultiValuePropertyButtonScript ($propName, $edit=false)
 
 getThisPntContext ()
 
 getDetailsHref ($appName, $pntType)
 
 getLinkDirFromNav ($nav, $pntHandler='')
 
 getTargetAppName ($nav, $pntHandler='')
 
 getDetailsLinkPntHandler ()
 
 getNoItemsMessage ()
 
 getRequestDuration ()
 
 getConvert ($obj, $path, $kind=0, $preformatAndTab=0)
 
 getInitConverter ($prop)
 
 addContextButtonTo (&$buttons)
 
 doScouting ()
 
 getFootprintId ()
 
 printFootprintJsLiteral ($quote="'")
 
 getPropertyName ()
 
 printNextActionTicket ()
 
 getAndCreateNextActionTicket ()
 
 printExtraHeaders ()
 
 getImagesDir ()
 
- Public Member Functions inherited from PntRequestHandler
 __construct ($whole, $requestData)
 
 getDir ()
 
 getDomainDir ($type=null)
 
 getBaseUrl ()
 
 getConverter ()
 
 getDebugMode ()
 
 initForHandleRequest ()
 
 startSession ()
 
 getContextHref ($footprintId)
 
 getController ()
 
 getScout ()
 
 getGlobalFilters ()
 
 forwardRequest ($requestData, $information=null)
 
 redirectRequest ($requestData, $information=null, $dir=null)
 
 queryStringFrom ($requestData, $param=null)
 
 getRequestParam ($key)
 
 getReqParam ($key, $asHtml=false)
 
 htOut ($aString)
 
 getRequestHandler ($requestData, $dir=null)
 
 tryUseHandlerClass ($handlerClass, &$attempted)
 
 getHandlersTriedString ($attempted)
 
 __toString ()
 
 toString ()
 
 getLabel ()
 
 getName ()
 
 getThisPntHandlerName ()
 
 getInformation ()
 
 getEventualItemNotFoundMessage ()
 
 setInformation ($value)
 
 getTypeLabel ()
 
 getType ()
 
 checkAlphaNumeric ($value)
 
 getTryUseClassTryParams ($className, $dir)
 
 getIncludesDir ()
 
 tryUseClass ($className, $dir)
 
 useClass ($className, $dir)
 
 getTypeClassDescriptor ()
 
 getRequestedObject ()
 
 setRequestedObject ($value)
 
 getFormTexts ()
 
 getFormTextPaths ()
 
 setFormTexts ($value)
 
 getMarkedItemsCollector ()
 

Additional Inherited Members

- Static Public Member Functions inherited from PntPage
static getInfoStyleOk ()
 
static getInfoStyleError ()
 
static getInfoStyleWarning ()
 
- Data Fields inherited from PntSite
 $baseUrl
 
 $debugMode = ''
 
 $funkyUrls = false
 
 $funkyAlias = 'index.php?'
 
 $absoluteUrls = false
 
 $xFrameOptions = 'DENY'
 
 $httpRequestThrowsExp = true
 
 $dir
 
 $domainDir
 
 $requestStartTime
 
 $filters
 
 $converter
 
 $sessionStarted = false
 
 $isSiteRunning =true
 
 $name ="site"
 
 $os ="linux"
 
 $dbUser
 
 $dbPwd
 
 $dbAddress
 
 $dbPort
 
 $dbName
 

Detailed Description

Objects of this class are the single entrypoint for handling http requests. Site connects to the database as specified in scriptMakeSettings.php and sets the ErrorHandler, the debugMode, specifies application folder and domain folder, supplies StringConverters, baseUrl and takes care of sessions.

This concrete subclass is here to keep de application developers code (including localization overrides) separated from the framework code.

See Also
http://www.phppeanuts.org/site/index_php/Menu/178 Framework code is in superclass.

Member Function Documentation

getShopEmail ( )

The documentation for this class was generated from the following file: