Method | Description | |
---|---|---|
AddTemplate ( string name, string content, IPagesStorageProviderV30 provider ) : bool |
Adds a new content template.
|
|
Find ( string name ) : ContentTemplate |
Finds a content template.
|
|
GetTemplates ( ) : List |
Gets all the content templates.
|
|
ModifyTemplate ( ContentTemplate template, string content ) : bool |
Modifies a content template.
|
|
RemoveTemplate ( ContentTemplate template ) : bool |
Removes a content template.
|
public static AddTemplate ( string name, string content, IPagesStorageProviderV30 provider ) : bool | ||
name | string | The name of the template. |
content | string | The content of the template. |
provider | IPagesStorageProviderV30 | The target provider ( |
return | bool |
public static Find ( string name ) : ContentTemplate | ||
name | string | The name of the template to find. |
return | ContentTemplate |
public static ModifyTemplate ( ContentTemplate template, string content ) : bool | ||
template | ContentTemplate | The template to modify. |
content | string | The new content of the template. |
return | bool |
public static RemoveTemplate ( ContentTemplate template ) : bool | ||
template | ContentTemplate | The template to remove. |
return | bool |