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

Inherits PntPagePart.

Inherited by DetailsPart, and PntEditDetailsPart.

Public Member Functions

 __construct ($whole, $requestData)
 
 getName ()
 
 setHandlerGetDetailsLinkFromNavText ($value)
 
 printBody ()
 
 willBeInput ($text)
 
 printLabelPart ()
 
 includeOrPrintDetailsTable ()
 
 tryIncludeSkinReportDetailsTable ($type)
 
 getFilterPartString ()
 
 printDetailsRows ($readOnly, $printSkin=false)
 
 printDetailsRow ($formKey)
 
 printSkinDetailsRow ($formKey)
 
 ajaxPrintUpdates ($preFix='')
 
 ajaxShouldUpdate ($partId, $partName=null, $extraParam=null)
 
 printDetailsExtra ($formKey)
 
 printDetailsExtraEmpty ($formText)
 
 getFormWidget ($text)
 
 getMarkupFromFormText ($formKey)
 
 getFormTexts ()
 
 getFormText ($formKey)
 
 printFormText ($formKey, $empty=' ')
 
 printFormLabel ($formKey)
 
 printDetailsLink ($formKey)
 
 getDetailsLinkFromNavText ($part, $text, $content, $hrefNoId=null)
 
 printFormWidget ($formKey)
 
 setDetailsLinkPntHandler ($value)
 
 getDetailsLinkPntHandler ()
 
- Public Member Functions inherited from PntPagePart
 printBody ()
 
 ajaxPrintUpdates ($preFix='')
 
 getThisPntHandlerName ()
 
 getType ()
 
 getRequestedObject ()
 
 getFormTexts ()
 
 getOwnFormTexts ()
 
 getFootprintId ()
 
 getExcludedMultiValuePropButtonKeys ()
 
- 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 PntPage
 $infoStyle
 
 $converters
 
 $parts
 
 $filterPartString
 
 $footprintId
 

Constructor & Destructor Documentation

__construct (   $whole,
  $requestData 
)

Member Function Documentation

ajaxPrintUpdates (   $preFix = '')

Overridden to include DetailsRow, FormLabel, DetailsExtra, FormWidget into ajax updates. The formKey must be passed by the ajax request in the partId as for a subPart. For example 'pntAjaxUpd=DetailsPart.DetailsRow.description passed with a request to a ReportPage should result in the output of the DetaislRow with formkey == 'description'.

ajaxShouldUpdate (   $partId,
  $partName = null,
  $extraParam = null 
)
getDetailsLinkFromNavText (   $part,
  $text,
  $content,
  $hrefNoId = null 
)
Returns
HTML string a hyperlink to the DetailsPage for the object $text refers to, or just the $content if $text does not refer to an object that has an id
Parameters
PntPagePart$partthe part calling this eventHanlder function
PntXmlNavValue$textDOM object for processing the form parameter
HTMLstring $content the content of the hyperlink
$hrefNoIdHREF string the href ending with id= but without the id of the object
Exceptions
PntError
getDetailsLinkPntHandler ( )
getFilterPartString ( )
Returns
string HTML describing the active filter. default the active filter is the first global filter that applies to the type of the page. But some details of the requested object may respond to filters that apply to a property. For simplicty DetailsPart shows alle global filters. To be overridden on a concrete subclass if you need a more specific description.
getFormText (   $formKey)
getFormTexts ( )
Returns
Array of PntNavValue meant for ReportPage. EditDetailsPage explicitly initializes $this->formTexts
getFormWidget (   $text)
getMarkupFromFormText (   $formKey)
getName ( )
includeOrPrintDetailsTable ( )
printBody ( )
printDetailsExtra (   $formKey)
printDetailsExtraEmpty (   $formText)
printDetailsLink (   $formKey)
printDetailsRow (   $formKey)
printDetailsRows (   $readOnly,
  $printSkin = false 
)
printFormLabel (   $formKey)
printFormText (   $formKey,
  $empty = ' ' 
)
printFormWidget (   $formKey)
printLabelPart ( )
printSkinDetailsRow (   $formKey)
setDetailsLinkPntHandler (   $value)
setHandlerGetDetailsLinkFromNavText (   $value)
tryIncludeSkinReportDetailsTable (   $type)
willBeInput (   $text)

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