Tuskfish API V1.1.2
  • Package
  • Class

Packages

  • content
  • core
  • database
  • installation
  • security
  • user
  • utilities

Classes

  • TfArticle
  • TfAudio
  • TfBlock
  • TfBlockHandler
  • TfCollection
  • TfCollectionHandler
  • TfContentControllerFactory
  • TfContentHandler
  • TfContentHandlerFactory
  • TfContentObject
  • TfContentObjectController
  • TfDownload
  • TfImage
  • TfRss
  • TfSearchContent
  • TfStatic
  • TfTag
  • TfTagHandler
  • TfTaglinkHandler
  • TfVideo

Traits

  • TfContentTypes

Trait TfContentTypes

Provides definition of permitted content object types.

Direct Known Users

TfContentHandler, TfTaglinkHandler

Indirect Known Users

TfBlockHandler, TfCollectionHandler, TfTagHandler

Package: content
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Used by: TfBlockHandler Whitelist of sanctioned TfishContentObject subclasses.
Used by: TfCollectionHandler Whitelist of sanctioned TfishContentObject subclasses.
Used by: TfContentHandler Whitelist of sanctioned TfishContentObject subclasses.
Used by: TfTagHandler Whitelist of sanctioned TfishContentObject subclasses.
Used by: TfTaglinkHandler Whitelist of sanctioned content subclasses.
Located at trust_path/modules/content/class/TfContentTypes.php

Methods summary

public array
# getTypes( )

Returns a whitelist of permitted content object types, ie. descendants of TfContentObject.

Returns a whitelist of permitted content object types, ie. descendants of TfContentObject.

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.

Returns

array
Array of whitelisted (permitted) content object types.
Tuskfish API V1.1.2 API documentation generated by ApiGen