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

Inherits PntObjectSaveAction.

Additional Inherited Members

- Public Member Functions inherited from PntObjectSaveAction
 handleRequest ()
 
 initialize ()
 
 initForCopy ()
 
 preprocessObject ()
 
 convertCommitAndCheck ()
 
 finishObject ($asSubaction=false)
 
 checkAccess ()
 
 convertAndValidateFormValues (&$formTexts)
 
 commitFormValues (&$formTexts)
 
 getSaveErrorMessages ()
 
 verifyDelete ()
 
 saveObject ()
 
 recurseCopyObject ()
 
 getOriginal ()
 
 getOtherObjectsToSave ()
 
 finishFailure ()
 
 getFailureHandler ()
 
 shouldProcess ($formNavValue, $formKey=null)
 
 finishSuccess ($obj)
 
 getBackToOriginRequestData ($obj)
 
 getErrorMessage ()
 
 getErrorInformation ()
 
 getSaveErrorMessage ()
 
 getEditType ()
 
 getOKMessage ($obj)
 
 getActionDoneMessage ($obj)
 
 processMtoNproperties ()
 
 processMtoNRelValue ($formMtoNRelValue)
 
 checkProcessFormValue (&$formNavValue)
 
 processSubsaveActions ()
 
 addSubsaveActionError ($subAction)
 
- Data Fields inherited from PntObjectSaveAction
 $objectSaved = false
 
 $copy = false
 

Detailed Description

Action that saves an object to the database. Used by form from ObjectEditDetailsPage when Insert or Update button is pressed. Calls save method on the object.

See Also
http://www.phppeanuts.org/site/index_php/Pagina/158

This concrete subclass is here to keep de application developers code separated from the framework code.

See Also
http://www.phppeanuts.org/site/index_php/Menu/178 Framework code is in the superclass This class may be copied to an application folder to make application specific overrides.

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