ContentTypes
trait ContentTypes
Provides definition of permitted content object types.
Methods
array
listTemplates()
Returns a list of template names used by specific content types.
array
listTypes()
Returns a whitelist of permitted content object types.
Details
at line 36
array
listTemplates()
Returns a list of template names used by specific content types.
at line 62
array
listTypes()
Returns a whitelist of permitted content object types.
Use this whitelist when dynamically instantiating content objects. If you create additional types of content object (which must be descendants of the TfContentObject class) you must add them to the whitelist below. Otherwise their use will be denied in many parts of the Tuskfish system.