Newscoop 3 Cookbook

Unset objects

Unset Article

Purpose:

Unset the runtime environment article. After this statement the article object will not be defined any more.

Syntax:

{{ unset_article }}

Constraints:

Cannot be used inside "list_articles", "list_article_attachments", "list_article_comments", "list_article_topics", "list_article_audio_attachments", "list_searresults" and "list_subtitles" statements.

See also "Set Default Article", and "Set Article".

Unset Comment

Purpose:

Unset the runtime environment comment. After this statement the comment object will not be defined any more.

Syntax:

{{ unset_comment }}

Constraints:

Cannot be used inside "list_article_comments" statements.

Unset Issue

Purpose:

Unset the runtime environment issue. After this statement the issue object will not be defined any more.

Syntax:

{{ unset_issue }}

Constraints:

Cannot be used inside any list statements.

See also "Set Issue", "Set Current Issue", and "Set Default Issue".

Unset Language

Purpose:

Unset the runtime environment language. After this statement the language object will not be defined any more.

Syntax:

{{ unset_language }}

Constraints:

Cannot be used inside "list_articles", "list_article_attachments", "list_article_comments", "list_article_topics", "list_article_audio_attachments", "list_searresults" and "list_subtitles" statements.

See also "Set Language", and "Set Default Language".

Unset Publication

Purpose:

Unset the runtime environment publication. After this statement the publication object will not be defined any more.

Syntax:

{{ unset_publication }}

Constraints:

Cannot be used inside any list statement.

See also "Set Publication", and "Set Default Publication".

Unset Section

Purpose:

Unset the runtime environment section. After this statement the section object will not be defined any more.

Syntax:

{{ unset_section }}

Constraints:

Cannot be used inside "list_sections", "list_articles", "list_article_attachments", "list_article_comments", "list_article_topics", "list_article_audio_attachments", "list_searresults" and "list_subtitles" statements.

See also "Set Section", and "Set Default Section".

Unset Topic

Purpose:

Unset the runtime environment topic. After this statement the topic object will not be defined any more.

Syntax:

{{ unset_topic }}

Constraints:

Cannot be used inside "list_articles" and "list_article_topics" statements.

See also "Set Default Topic", and "Set Topic".