Perforce Chronicle 2012.2/486814
API Documentation
|
Provides a contract for form elements to be enhanced for use with content records: More...
Public Member Functions | |
getContentRecord () | |
Get the associated content record (if set). | |
getDefaultDisplayDecorators () | |
Get the default decorators to use when rendering content element values of this type for display. | |
setContentRecord ($content) | |
Set the associated content record for this element. |
Provides a contract for form elements to be enhanced for use with content records:
P4Cms_Content_EnhancedElementInterface::getContentRecord | ( | ) |
Get the associated content record (if set).
Implemented in Content_Form_Element_ContentSelect, and Content_Form_Element_File.
P4Cms_Content_EnhancedElementInterface::getDefaultDisplayDecorators | ( | ) |
Get the default decorators to use when rendering content element values of this type for display.
Implemented in Content_Form_Element_ContentSelect, Content_Form_Element_File, Content_Form_Element_ImageFile, and Content_Form_Element_ImageSelect.
P4Cms_Content_EnhancedElementInterface::setContentRecord | ( | $ | content | ) |
Set the associated content record for this element.
P4Cms_Content | $content | the associated content record for this element. |
Implemented in Content_Form_Element_ContentSelect, and Content_Form_Element_File.