This is an old revision of the document!
string ReplaceHTML(string str) – Replaces “<” and “>” to “<” and “>”
void SendNotification(string notification_on, int content_item_id, string notification_email) – Sends email notification for a given content by article id. Email Notifications have to be already created in the “Notifications” section of the backend. The parameters include article id which may be used to create email body, type of event and an optional email address. If notification_email is not specified then the system would use the email addresses specified in the Notificaitons.
Types of notification events (notification_on): for_create – when new article is created for_modify – when article is edited for_remove – when article is deleted.
Example: SendNotification(“for_remove”, content_item_id, “”);
string GetSiteUrl() – Returns absolute URL for site main folder (This method produces different results depending of page assembling mode).
Discussion