MagicCMS Documentation

MagicTranslationCollection Constructor (Int32, Boolean)

Initializes a new instance of the MagicTranslationCollection class containing the translations of a specified post.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public MagicTranslationCollection(
	int postPk,
	bool createBlankRecords
)

Parameters

postPk
Type: Int32
Primary key (Id) of the post to which apply translations.
createBlankRecords
Type: Boolean
if set to true create empty records if translations don't exists.