phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
ObjectMtoNPropertyPage Class Reference

Inherits PntObjectMtoNPropertyPage.

Additional Inherited Members

- Public Member Functions inherited from PntObjectMtoNPropertyPage
 getPropertyPartName ()
 
 checkAccess ()
 
 printMainPart ()
 
 getSearchFrameName ()
 
 printScaleContentScripts ()
 
 printBooleanProps ()
 
 getButtonsList ()
 
 getNewItemButton ()
 
 getNewItemButtonLabel ($typeLabel)
 
 getNewItemDialogSize ()
 
 getBackToOrigin ()
 
 printSaveScript ()
 
 printHandlerOrigin ()
 
- Static Public Member Functions inherited from PntObjectEditDetailsPage
static extraInitFormTexts ($formTexts, $item, $requestData, $hideErrors=false)
 
- Data Fields inherited from PntObjectMtoNPropertyPage
 $itdWidthSubst =530
 
 $nmsfLeftSubst =410
 
 $itdHeightSubst =158
 

Detailed Description

Kind of PropertyPage specialized for n to m relationships. Contains an MtoNPropertyPart with a table from which the user can remove items by clicking their remove icons. and a SearchFrame with an MtoNSearchPage from which the user can search and add items by clicking in them. The table is adapted client-side to show the resulting related items. When the save button is pressed the id's of the added and removed items are sent to the server and processed to add and remove the relationship objects according to the selections of the user.

See Also
example13 to see how to use this class.

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. This class may be copied to an application folder to make application specific overrides.
http://www.phppeanuts.org/site/index_php/Pagina/64

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