phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Static Public Member Functions | Data Fields
PntObjectDialog Class Reference

Inherits PntObjectSearchPage.

Inherited by ObjectDialog.

Public Member Functions

 checkAccess ()
 
 printBody ()
 
 ajaxPrintUpdates ($preFix='')
 
 printReturnFuncName ()
 
 getName ()
 
 getButtonsList ()
 
 getOkButton ()
 
 getNewItemButton ()
 
 printMainPart ()
 
 getPropertyDescriptor ()
 
 getPropertyFilter ()
 
 getGlobalFilter ()
 
 getRequestedObjectDefault ()
 
 getLabel ()
 
 getItemsInfo ()
 
 getCurrentValueDescription ()
 
 printItemTablePart ()
 
 printSelectScriptPart ()
 
 printSingleSelectScript ()
 
 getFormKey ()
 
 getInitItemTable ()
 
 isMultiSelect ()
 
 getCellOnClickParam ($table, $item)
 
- Public Member Functions inherited from PntObjectSearchPage
 getName ()
 
 getSearchButtonLabel ()
 
 printMainPart ()
 
 printFilterPart ()
 
 getFilterFormPartName ()
 
 hasFilterForm ()
 
 getFilterFormPart ()
 
 getPropertyFilter ()
 
 getRequestedObject ()
 
 useDefault ($filterFormPart)
 
 getRequestedObjectDefault ()
 
 getFilterPartString ()
 
 getFilterPartDescription ($filter)
 
 getPageButtonScript ($pageItemOffset)
 
 getFormName ()
 
 getAllItemsSize ()
 
 getItemsInfo ()
 
 printItemTablePart ()
 
 getInitItemTable ()
 
 setTableHeaderSortParams ($table)
 
 getHeaderSortParams ($paths)
 
 ajaxPrintUpdates ($preFix='')
 
- Public Member Functions inherited from PntObjectIndexPage
 getName ()
 
 initForHandleRequest ()
 
 getInformation ()
 
 getItemsInfo ()
 
 getRequestedObject ()
 
 getButtonsList ()
 
 isReadonly ()
 
 getDeleteConfirmationQuestion ()
 
 printIndexPart ()
 
 printDeleteScript ()
 
 getNoItemsMarkedMessage ()
 
 printBodyTagIeExtraPiece ()
 
 printItemTablePart ()
 
 getItemTable ()
 
 getInitItemTable ()
 
 hasFilterForm ()
 
 getPageButtonScript ($pageItemOffset)
 
 getAllItemsSize ()
 
 getPageItemOffset ()
 
 getPageItemCount ()
 
 getPagerButtonsListBuilder ()
 
 initPagerButtonsListBuilder ($builder)
 
 getGlobalCombiFilter ()
 
 getGlobalFilter ()
 
 getFilterPartString ()
 
 getThisPntContext ()
 
 ajaxPrintUpdates ($preFix='')
 
- 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 ()
 

Static Public Member Functions

static getReplyScriptPiece ($formKey='')
 
static getMinWindowSize ()
 

Data Fields

 $advancedFilterOverlayLeft = 5
 
- Data Fields inherited from PntObjectSearchPage
 $advancedFilterOverlayLeft = 120
 
- Data Fields inherited from PntObjectIndexPage
 $items
 
 $itemsAnnouncement = 'Item(s)'
 
 $allItemsSizeAnnouncement = 'from'
 
- Data Fields inherited from PntPage
 $infoStyle
 
 $converters
 
 $parts
 
 $filterPartString
 
 $footprintId
 
- Data Fields inherited from PntRequestHandler
 $whole
 
 $information
 
 $controller
 
 $requestData
 
 $request
 

Member Function Documentation

ajaxPrintUpdates (   $preFix = '')

This method should take care of update of an existing dialog. The default is to update the enire dialog with all subParts in a single update element. In practice this is used to load the contents of an overlay. No context scouting is done on AJAX requests.

checkAccess ( )

Check access to a $this with the SecrurityManager. Forward to Access Denied errorPage and die if check returns an error message.

getButtonsList ( )
getCellOnClickParam (   $table,
  $item 
)

Return the onClick parameter for inmclusion in the TD tags by printItemCells Eventhandler PntTablePart $table $this, made explicit for copy&paste as event handler PntObject $item the item this row displays mixed $cellKey (optional) key of the cell content provider in $table->cells

getCurrentValueDescription ( )
Returns
string HTML
getFormKey ( )
Returns
string according to ::checkAlphaNumeric
getGlobalFilter ( )
getInitItemTable ( )
getItemsInfo ( )
Returns
HTML info about the number of items and paging, here overridden to show errors if they exist
getLabel ( )
static getMinWindowSize ( )
static
getName ( )
getNewItemButton ( )
getOkButton ( )
getPropertyDescriptor ( )
getPropertyFilter ( )

Override, no propertyFilter

static getReplyScriptPiece (   $formKey = '')
static
Returns
the piece of the javascript that will be called by the dialog the piece must deliver the id in variable pId and the label in pLabel
Parameters
string$formKeyignoored
getRequestedObjectDefault ( )

default is the object currently selected

Exceptions
PntError
isMultiSelect ( )
printBody ( )
printItemTablePart ( )
printMainPart ( )
printReturnFuncName ( )
printSelectScriptPart ( )
printSingleSelectScript ( )

Field Documentation

$advancedFilterOverlayLeft = 5

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