InlineEditView Class Reference

Inheritance diagram for InlineEditView:
EditView DetailsView ModelView ConfigurableMetadataView MetadataView View CommentInlineEditView ContactInlineCreateForArchivedEmailCreateView NoteInlineEditView SocialItemInlineEditView TaskCheckItemInlineEditView CommentForSocialItemInlineEditView LeadInlineCreateForArchivedEmailCreateView

Public Member Functions

 __construct (RedBeanModel $model, $controllerId, $moduleId, $saveActionId, $urlParameters, $uniquePageId)
 getFormName ()
 isUniqueToAPage ()
 getPostArrayName ()
 setMetadataFromPost ($postArray)
 validate ()
 getViewMetadata ()

Static Public Member Functions

static getDesignerRulesType ()
static getDisplayDescription ()

Protected Member Functions

 renderContent ()
 renderContentStartFormDiv ()
 renderContentEndFormDiv ()
 registerScripts ()
 wrapFormLayoutContent ($content)
 renderModalContainer ()
 renderConfigSaveAjax ($formName)
 getValidateAndSaveUrl ()
 getMorePanelsLinkLabel ()
 getLessPanelsLinkLabel ()

Static Protected Member Functions

static getFormId ()

Protected Attributes

 $saveActionId
 $urlParameters
 $uniquePageId

Detailed Description

Abstraction for displaying an inline display of a model edit view.

Definition at line 40 of file InlineEditView.php.


Member Function Documentation

renderContent (  )  [protected]

Override of parent function. Makes use of the ZurmoActiveForm widget to provide an editable form.

Returns:
A string containing the element's content.

Reimplemented from EditView.

Definition at line 76 of file InlineEditView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Reimplemented in ContactInlineCreateForArchivedEmailCreateView.

Definition at line 173 of file InlineEditView.php.

static getDesignerRulesType (  )  [static]

Override in each sub-class if you have applicable designer rules for handling the modification of metadata layouts

Returns:
null or a DesignerRules Class;

Reimplemented from EditView.

Reimplemented in TaskCheckItemInlineEditView.

Definition at line 193 of file InlineEditView.php.

getMorePanelsLinkLabel (  )  [protected]

For the given view, return the label used when a link is displayed to show additional panels in the view.

Returns:
string label.

Reimplemented from DetailsView.

Definition at line 203 of file InlineEditView.php.

getLessPanelsLinkLabel (  )  [protected]

For the given view, return the label used when a link is displayed to show less panels in the view.

Returns:
string label.

Reimplemented from DetailsView.

Definition at line 208 of file InlineEditView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Apr 26 07:10:26 2017