Skip to content

Entity Name Settings

Marius edited this page Aug 20, 2014 · 2 revisions

Entity Name Settings

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.
name settings
  • 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() than foreach ($_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.
Clone this wiki locally