Perforce Chronicle 2012.2/486814
API Documentation
|
Provides a contract for form elements to be enhanced for use with records: More...
Public Member Functions | |
populateFromRecord (P4Cms_Record $record) | |
Set the element value from the given record. | |
populateRecord (P4Cms_Record $record) | |
Set the element value on the given record. |
Provides a contract for form elements to be enhanced for use with records:
P4Cms_Record_EnhancedElementInterface::populateFromRecord | ( | P4Cms_Record $ | record | ) |
Set the element value from the given record.
Allows for decision making and consideration of other aspects of the record.
P4Cms_Record | $record | the record to read the value from |
Implemented in Content_Form_Element_File.
P4Cms_Record_EnhancedElementInterface::populateRecord | ( | P4Cms_Record $ | record | ) |
Set the element value on the given record.
Allows for decision making and modification of other aspects of the record (such as setting metadata).
P4Cms_Record | $record | the record to set the value on |
Implemented in Content_Form_Element_File, and Content_Form_Element_ImageFile.