-
Notifications
You must be signed in to change notification settings - Fork 88
Entity Name Settings
Marius edited this page Aug 20, 2014
·
2 revisions
This section contains 4 fields.
- Label singular - This text will be used for backend and frontend labels of your entity. For example "Add Article", "Delete Article". Use a noun in the singular form. Once you change this field, the top label of the entity will be changed.
- Label plural - This text will be used for backend and frontend labels of entity groups. Example: "Articles", "Delete Articles". Use the same noun as for the Label singular but in plural form.
-
Entity code singular - UMC generates the code in a 'human readable' form. It's easier to figure out what the code is about when the variables and methods have a propper name.
For example it's easier to read
foreach ($_posts as $_post){...}
or$_post->getTags()
thanforeach ($_list as $_item){...}
or$_entity->getRelated('tags')
; The value you fill in here will be used for variable names, file names and table names. Only lowercase letters and numbers are allowed. - Entity code plural - This is the plural value of the entity code. For example 'posts'. Only lowercase letters and numbers are allowed.
- Getting started
- Compatibility
- Installation
- Features
- How to use
- Module grid
- Add/Edit form
- General Settings Tab
- Entities Tab 1. Entity - Name settings 2. Entity - Backend settings 3. Entity - Frontend settings 4. Entity - Products 5. Entity - Categories 6. Entity - Fields/Attribute
- Entity Relations Tab
- Help Tab
- Configuration
- Naming Restrictions
- Generated files
- Sample 1. UMC Config file 2. Tables 3. Backend CRUD 4. Config section 5. Fronend listing 6. Fronend view 7. Product relation 8. Category relation 9. RSS Feed 10. API 11. Widgets 12. Comments 13. Translation
- Created extensions
- Concept
- Limitations
- Issues & Support
- Release Notes
- Uninstall
- License
- Thanks