concrete5/concrete5 — pull request #1447 by mlocati (2013-10-23 15:14:20+00:00)
Title: Introduce getAccessEntityTypeDisplayName

Let's add the `getAccessEntityTypeDisplayName` method to the `PermissionAccessEntityType` 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-.../