MagicCMS Documentation

MagicIndex..::..GetTitle Method

Gets a post title indexed for a specific language. In no tile is found return Post Pk converted to string.

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

Syntax


public static string GetTitle(
	int postId,
	string langId
)

Parameters

postId
Type: Int32
The post identifier.
langId
Type: String
The language identifier.

Return Value

The indexed routing title