protected function renderContent()
 {
     $content = null;
     $content .= $this->renderBeforeTableContent();
     $modelClassName = $this->modelClassName;
     if (count($this->attributesCollection) > 0) {
         $content .= '<div>';
         $content .= $this->renderTitleContent();
         $content .= '<ul class="configuration-list">';
         foreach ($this->attributesCollection as $attributeName => $information) {
             $route = $this->moduleId . '/' . $this->controllerId . '/AttributeEdit/';
             $attributeFormClassName = AttributesFormFactory::getFormClassNameByAttributeType($information['elementType']);
             if ($information['elementType'] == 'EmailAddressInformation' || $information['elementType'] == 'Address' || $information['elementType'] == 'User' || $information['isReadOnly'] || $attributeName == 'id' || $this->isAttributeOnModelOrCastedUp($attributeName) || in_array($attributeName, $modelClassName::getNonConfigurableAttributes())) {
                 //temporary until we figure out how to handle these types.
                 $linkContent = null;
             } else {
                 $url = Yii::app()->createUrl($route, array('moduleClassName' => $this->moduleClassName, 'attributeTypeName' => $information['elementType'], 'attributeName' => $attributeName));
                 $linkContent = static::renderConfigureLinkContent($url, 'edit-link-' . $attributeName);
             }
             $content .= '<li>';
             $content .= '<h4>' . $information['attributeLabel'] . '</h4>';
             $content .= ' - ' . $attributeFormClassName::getAttributeTypeDisplayName();
             $content .= $linkContent;
             $content .= '</li>';
         }
         $content .= '</ul>';
         $content .= '</div>';
     }
     return $content;
 }
 protected static function getValueTypeDropDownArray()
 {
     $data = array('' => Zurmo::t('DesignerModule', 'Select a field type'));
     $attributeTypes = ModelAttributeToDesignerTypeUtil::getAvailableCustomAttributeTypes();
     foreach ($attributeTypes as $attributeType) {
         $attributeFormClassName = AttributesFormFactory::getFormClassNameByAttributeType($attributeType);
         $data[$attributeType] = $attributeFormClassName::getAttributeTypeDisplayName();
     }
     return $data;
 }