<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>IMentionContainingContentType Plugin Type</title><link>https://community.telligent.com/community/11/w/api-documentation/64383/imentioncontainingcontenttype-plugin-type</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>IMentionContainingContentType Plugin Type</title><link>https://community.telligent.com/community/11/w/api-documentation/64383/imentioncontainingcontenttype-plugin-type</link><pubDate>Tue, 19 Nov 2019 19:35:31 GMT</pubDate><guid isPermaLink="false">85ef3059-827d-4bfa-b9f0-0e99bf3d0a24</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/64383/imentioncontainingcontenttype-plugin-type#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 19:35:31&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;This interface adds support for @mentions within contents of the specified content type.  Whereas IMentionableContentType lets content be mentioned, this interface lets content mention other content.&lt;/p&gt;&lt;p&gt;&lt;code&gt;IMentionContainingContentType&lt;/code&gt; is defined in the &lt;code&gt;Telligent.Evolution.Extensibility.Content.Version1&lt;/code&gt; namespace of Telligent.Evolution.Platform.dll&lt;/p&gt;&lt;div class="documentation-stub"&gt;&lt;h2&gt;&lt;a id="Definition" name="Definition"&gt;&lt;/a&gt;Definition&lt;/h2&gt;&lt;pre&gt;interface IMentionContainingContentType : [[IContentType Plugin Type|IContentType]], [[IPlugin Plugin Type|IPlugin]]
{
	void SetController([[IMentionController Plugin Supplementary Type|IMentionController]] controller);
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="documentation-members methods"&gt;&lt;h2&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h2&gt;&lt;h3&gt;	void SetController(IMentionController controller);
&lt;/h3&gt;&lt;p&gt;This method gives the content type its own controller with privileged access to method calls not available in the API and is called each time the plugin is loaded.  The controller should be saved and used to notify Telligent Evolution when content has been added or updated.  The controller also provides support for rendering @mentions.  When the content is rendered, it should pass any html that may contain an @mention into the controller.FormatMentionsForRendering(html, target) method.  This method returns the html with the @mentions fully rendered.&lt;/p&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;controller&lt;/td&gt;&lt;td&gt;&lt;code&gt;[[IMentionController Plugin Supplementary Type|IMentionController]]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Controller&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>