<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://docs.instantcms.ru/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://docs.instantcms.ru/feed.php">
        <title>Документация InstantCMS - en:dev:integration</title>
        <description>для администраторов и разработчиков</description>
        <link>https://docs.instantcms.ru/</link>
        <image rdf:resource="https://docs.instantcms.ru/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-11-19T02:45:48+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://docs.instantcms.ru/en/dev/integration/overview?rev=1491482604"/>
                <rdf:li rdf:resource="https://docs.instantcms.ru/en/dev/integration/search?rev=1491401420"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://docs.instantcms.ru/_media/wiki/dokuwiki.svg">
        <title>Документация InstantCMS</title>
        <link>https://docs.instantcms.ru/</link>
        <url>https://docs.instantcms.ru/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://docs.instantcms.ru/en/dev/integration/overview?rev=1491482604">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-06T12:43:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Introduction to Component Integration</title>
        <link>https://docs.instantcms.ru/en/dev/integration/overview?rev=1491482604</link>
        <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;introduction-to-component-integration&quot;&gt;Introduction to Component Integration&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
In InstantCMS, there are components (controllers) that can be used by other components of the engine.
These include such components as «RSS generator», «Search», «Activity feed», «Sitemap generator» and so on.
&lt;/p&gt;

&lt;p&gt;
Such components can be devided into two separate types:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; embeddable&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; serving&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Embeddable components are, for example, «Components», «Rating». Serving components include «RSS Generator», «Search» and similar.
&lt;/p&gt;

&lt;p&gt;
For example, the «Comments» component can work on any engine’s page and supplement the current component’s features with a commenting option.
&lt;/p&gt;

&lt;p&gt;
While the «RSS Generator» component, for instance, serves the needed component. In other words, its purpose is to output rss feeds on the basis of relevant data.
&lt;/p&gt;

&lt;p&gt;
Therefore, embeddable components &lt;strong&gt;can be integrated into any custom component&lt;/strong&gt;, while serving components can &lt;strong&gt;use data provided by your component&lt;/strong&gt; to realize their features.
&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;
&lt;a href=&quot;https://docs.instantcms.ru/en/dev/integration&quot; class=&quot;wikilink1&quot; title=&quot;en:dev:integration&quot; data-wiki-id=&quot;en:dev:integration&quot;&gt;Back to “Integration” Contents&lt;/a&gt;
&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;
&lt;a href=&quot;https://docs.instantcms.ru/en/dev/start&quot; class=&quot;wikilink2&quot; title=&quot;en:dev:start&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;en:dev:start&quot;&gt;Back to “For Developers” Contents&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="https://docs.instantcms.ru/en/dev/integration/search?rev=1491401420">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-05T14:10:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Full-Text Search Integration</title>
        <link>https://docs.instantcms.ru/en/dev/integration/search?rev=1491401420</link>
        <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;full-text-search-integration&quot;&gt;Full-Text Search Integration&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
There is the «Search» component in InstantCMS that allows to search relevant pages on the site. The component’s architecture allows to link any engine’s component to the search.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Full-Text Search Integration&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;full-text-search-integration&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-227&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hook-linking&quot;&gt;Hook Linking&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The linking of your component comes down to the &lt;a href=&quot;https://docs.instantcms.ru/en/dev/controllers/hooks#parallel-scheme&quot; class=&quot;wikilink2&quot; title=&quot;en:dev:controllers:hooks&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;en:dev:controllers:hooks&quot;&gt;creation of a hook that works according to the parallel scheme&lt;/a&gt; called &lt;strong&gt;fulltext_search&lt;/strong&gt;.
Please note that the &lt;a href=&quot;http://www.mysql.ru/docs/man/Fulltext_Search.html&quot; class=&quot;urlextern&quot; title=&quot;http://www.mysql.ru/docs/man/Fulltext_Search.html&quot; rel=&quot;ugc nofollow&quot;&gt;MySQL full-text search&lt;/a&gt; is performed. Your table should have the corresponding index such as FULLTEXT (the index should be composite, if the search is performed on several cells). The table’s engine should be MyISAM (InnoDB is allowed if your MySQL version supports full-text InnoDB indexes).
&lt;/p&gt;

&lt;p&gt;
Parameters are not passed into the hook. The hook should be returned by an array with such cells (all are required):
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'name'&lt;/span&gt;          &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$this&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'sources'&lt;/span&gt;       &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sources&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'table_names'&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$table_names&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'match_fields'&lt;/span&gt;  &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$match_fields&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'select_fields'&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$select_fields&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'filters'&lt;/span&gt;       &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$filters&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;st_h&quot;&gt;'item_callback'&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$item&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$model&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sources_name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$match_fields&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$select_fields&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array_merge&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array_merge&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$item&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
            &lt;span class=&quot;st_h&quot;&gt;'url'&lt;/span&gt;      &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; href_to&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sources_name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$item&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;'slug'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'.html'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
            &lt;span class=&quot;st_h&quot;&gt;'title'&lt;/span&gt;    &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$item&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;'title'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
            &lt;span class=&quot;st_h&quot;&gt;'fields'&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
            &lt;span class=&quot;st_h&quot;&gt;'date_pub'&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$item&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;'date_pub'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
            &lt;span class=&quot;st_h&quot;&gt;'image'&lt;/span&gt;    &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;''&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hook Linking&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hook-linking&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;228-1559&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;decoding-of-response-cells&quot;&gt;Decoding of response cells&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit4&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Title &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Description &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;name&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Controller’s title, for example, guestbook. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;sources&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An array of processed &lt;strong&gt;goals&lt;/strong&gt;, for example, &lt;code&gt;array(&amp;#039;guestbook&amp;#039; &amp;gt; &amp;#039;Guestbook&amp;#039;)&lt;/code&gt;. The &lt;strong&gt;goal&lt;/strong&gt; title may coinside with the controller title. There can be several goals. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;table_names&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An array of tables to select the data from. The array’s key should be the goal’s title. A separate table is specified for each goal, for example, &lt;code&gt;array(&amp;#039;guestbook&amp;#039; &amp;gt; &amp;#039;guestbooks&amp;#039;)&lt;/code&gt; (&lt;code&gt;cms_guestbooks&lt;/code&gt; table). &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;match_fields&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An array whose key is the goal&amp;#039;s title and whose value is an array of fields participating in the full-text selection in the MATCH operator. For example, &lt;code&gt;array(&amp;#039;guestbook&amp;#039; ⇒ array(&amp;#039;title&amp;#039;, &amp;#039;description&amp;#039;))&lt;/code&gt;. You can specify a custom set of fields for each goal. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;select_fields&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An array whose key is the goal&amp;#039;s title and whose value is an array of fields to be selected from the table. For example, &lt;code&gt;array(&amp;#039;guestbook&amp;#039; ⇒ array(&amp;#039;id&amp;#039;, &amp;#039;slug&amp;#039;, &amp;#039;title&amp;#039;, &amp;#039;description&amp;#039;))&lt;/code&gt;. You can specify a custom set of fields for each goal. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;filters&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An array whose key is the goal&amp;#039;s title and whose value is an array of conditions and fields to filter. For example, &lt;code&gt;array(&amp;#039;guestbook&amp;#039; ⇒ array(array(&amp;#039;condition&amp;#039; ⇒ &amp;#039;=&amp;#039;,&amp;#039;value&amp;#039; ⇒ 1,&amp;#039;field&amp;#039; ⇒ &amp;#039;is_pub&amp;#039;)))&lt;/code&gt;. In this case, the filtration will be performed by the &lt;code&gt;is_pub&lt;/code&gt; field that must be equal to 1. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;item_callbackck&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An &lt;a href=&quot;http://php.net/manual/ru/functions.anonymous.php&quot; class=&quot;urlextern&quot; title=&quot;http://php.net/manual/ru/functions.anonymous.php&quot; rel=&quot;ugc nofollow&quot;&gt;Anonymous Function&lt;/a&gt; that processes the response from the database. The following variables are available in it: $item - an array of an entry with the fields that we requested in the  &lt;strong&gt;select_fields&lt;/strong&gt; cell, $model - an object of the modelSearch class, $sources_name - a goal&amp;#039;s title, for example &lt;code&gt;guestbook&lt;/code&gt; (this will help to form the urls of entries), $match_fields and $select_fields that contain an array of the corresponding fields mentioned above. This function must return several &lt;em class=&quot;u&quot;&gt;required cells&lt;/em&gt;: &lt;strong&gt;url&lt;/strong&gt; - a generated link to the target entry page, &lt;strong&gt;title&lt;/strong&gt; - a target entry title, &lt;strong&gt;date_pub&lt;/strong&gt; - an entry date (not formatted), &lt;strong&gt;image&lt;/strong&gt; - an image &lt;abbr title=&quot;HyperText Markup Language&quot;&gt;HTML&lt;/abbr&gt; code, if there is one. Other cells are optional, that is why it will be more practical to merge the resultant array with an array of the required cells as shown in the PHP code above. &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1598-3924&amp;quot;} --&gt;
&lt;p&gt;
You can view the examples of ready hooks in the files: &lt;code&gt;/system/controllers/content/hooks/fulltext_search.php&lt;/code&gt; (a full-text search implementation in the «Content» component) and &lt;code&gt;/system/controllers/photos/hooks/fulltext_search.php&lt;/code&gt; (a full-text search on photos).
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Decoding of response cells&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;decoding-of-response-cells&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1560-4195&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;custom-output-template-of-goal-results&quot;&gt;Custom Output Template of Goal Results&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
By default, the engine uses the &lt;code&gt;/templates/default/controllers/search/index.tpl.php&lt;/code&gt; template to output the search results. However, for a needed goal, you can create a custom template titled index_GOAL_TITLE.tpl.php. For example, the &lt;code&gt;/templates/default/controllers/search/index_photos.tpl.php&lt;/code&gt;  template processes the results of a search on photos. The &lt;code&gt;/templates/default/controllers/search/index_guestbook.tpl.php&lt;/code&gt; template will maintain the results of a search on the “Guestbook” component and so on.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Custom Output Template of Goal Results&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;custom-output-template-of-goal-results&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;4196-4765&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;search-data-processing-hooks&quot;&gt;Search Data Processing Hooks&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
In addition to the above described, the «Search» component processes the following hooks after implementing the main hook:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Title &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Description &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;search_CONTROLLER_NAME_data&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; CONTROLLER_NAME - a controller’s title, for example, guestbook (the hook will be called search_guestbook_data). Processes each response of the main &lt;strong&gt;fulltext_search&lt;/strong&gt; hook’s controllers. The data returned by the specified controller is passed to it. It will be helpful to additionally filter/supplement the selection with fields or for other actions. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;strong&gt;content_TARGET_NAME_search_list&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; TARGET_NAME - a goal’s title, for example, guestbook (the hook will be called content_guestbook_search_list). Processes the resultant array of the response data from the search. &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;4932-5571&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Search Data Processing Hooks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;search-data-processing-hooks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;4766-&amp;quot;} --&gt;</description>
    </item>
</rdf:RDF>
