AttributesCollectionView Class Reference

Inheritance diagram for AttributesCollectionView:
MetadataView View CustomAttributesCollectionView

Public Member Functions

 __construct ($controllerId, $moduleId, $attributesCollection, $moduleClassName, $modelClassName, $title)
 isUniqueToAPage ()

Protected Member Functions

 renderContent ()
 isAttributeOnModelOrCastedUp ($attributeName)
 renderBeforeTableContent ()

Static Protected Member Functions

static renderConfigureLinkContent ($url, $id)

Protected Attributes

 $cssClasses = array( 'TableOfContentsView')
 $controllerId
 $moduleId
 $attributesCollection
 $moduleClassName
 $modelClassName

Detailed Description

Definition at line 37 of file AttributesCollectionView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 62 of file AttributesCollectionView.php.

isAttributeOnModelOrCastedUp ( attributeName  )  [protected]

If the attribute is not on the same model class but nested up, it should be blocked from being configured in the designer tool since it can have side effects. You can still manually override this in the code if necessary.

Definition at line 115 of file AttributesCollectionView.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.

Definition at line 130 of file AttributesCollectionView.php.


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