concrete5/concrete5 — pull request #1445 by mlocati (2013-10-23 09:56:51+00:00)
Title: Introduce getAttributeTypeDisplayName

Let's add the `getAttributeTypeDisplayName` method to the `AttributeType` class.

It returns the localized name (so that you don't have to call `tc()`) and it optionally escapes the name in html format, javascript format (default is to escape in html format).

Discussion: http://www.concrete5.org/developers/beta/beta_discussion/retrieving-display-names-of-pages-attributes-.../