Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cCodeGeneratorAbstract
  • cCodeGeneratorFactory
  • cCodeGeneratorStandard
  • cContentTypeAbstract
  • cContentTypeAbstractTabbed
  • cContentTypeDate
  • cContentTypeFilelist
  • cContentTypeHead
  • cContentTypeHtml
  • cContentTypeHtmlhead
  • cContentTypeImg
  • cContentTypeImgdescr
  • cContentTypeImgeditor
  • cContentTypeLink
  • cContentTypeLinkdescr
  • cContentTypeLinkeditor
  • cContentTypeLinktarget
  • cContentTypeRaw
  • cContentTypeTeaser
  • cContentTypeText
  • cTypeGenerator
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cTypeGenerator

This class generates content types.

Package: Core\ContentType
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Alexander Scheider
Located at classes/class.typegenerator.php
Methods summary
public
# __construct( )

Constructor function

Constructor function

protected string
# _getContentTypeClassName( string $type )

Returns the classname for a content type.

Returns the classname for a content type.

Parameters

$type
Content type, e. g. CMS_HTMLHEAD

Returns

string

The classname e. g. cContentTypeHtmlhead for content type CMS_HTMLHEAD

public static
# getContentTypeClassName( $type )
protected string
# _getContentTypeCodeFilePathName( string $type )

Returns the full path to the include file name of a content type.

Returns the full path to the include file name of a content type.

Parameters

$type
Content type, e. g. CMS_HTMLHEAD

Returns

string

The full path e. g.

    {path_to_contenido_includes}/type/code/include.CMS_HTMLHEAD.code.php
    for content type CMS_HTMLHEAD
private
# fillContent( )

Fill content from db for current article

Fill content from db for current article

private string
# _processCmsTags( string $type, integer $index )

Parameters

$type
$index

Returns

string
public array
# getGeneratedCmsTag( string $type, integer $index )

Helper function to call a private function

Helper function to call a private function

Parameters

$type
$index

Returns

array
Properties summary
private array $cfg
# NULL
private static cDb $db
# NULL
private static array $a_content
# array()
private integer $_idart
# NULL
private integer $_idlang
# NULL
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen