This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Helper_Content

Helpful functions for working with HTML content.

Direct known subclasses

ContentHelper

Methods summary

public string
# translateFrom( string $text )

Builds the final HTML code starting from what has been saved in DB

public string
# translateFromEditMode( string $text )

Builds the HTML code to be used in Edit Mode starting from what has been saved in DB

public string
# translateTo( string $text )

Builds the HTML code to be saved in DB starting from what has been inserted in Edit Mode

public string
# import( string $text )

Builds the HTML code to be saved in DB starting from text specified during an import process

public string
# export( string $text )

Builds the HTML code to be exported starting from what has been saved in DB

protected
protected
# replaceImageID( $match )
protected
# replaceFileID( $match )
protected
protected
protected
protected static
protected static
protected static
protected static