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
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

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
  • Tree
  • Deprecated
  • Todo

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 to create an instance of this class.

Constructor to create an instance of this class.

Throws

cDbException
protected string
# _getContentTypeClassName( string $type )

Returns the classname for a content type.

Returns the classname for a content type.

Parameters

$type
string
$type Content type, e.g. CMS_HTMLHEAD

Returns

string
The classname e.g. cContentTypeHtmlhead for content type CMS_HTMLHEAD
public static string
# getContentTypeClassName( string $type )

Parameters

$type
string
$type

Returns

string
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
string
$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

Throws

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

Parameters

$type
string
$type
$index
integer
$index

Returns

string

Throws

cDbException
cException
public string
# getGeneratedCmsTag( string $type, integer $index )

Helper function to call a private function

Helper function to call a private function

Parameters

$type
string
$type
$index
integer
$index

Returns

string

Throws

cDbException
cException
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.10.1 API documentation generated by ApiGen 2.8.0