PHP code example of sanotto / atk-mod-global-search

1. Go to this page and download the library: Download sanotto/atk-mod-global-search library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sanotto / atk-mod-global-search example snippets


public function searchdescriptor($record)
{
    $content = "This is the search description for this record:";
    $content.= "<hr>";
    $content.= "Name:".$record['name'];
    $content.= "<hr>";
    return $content;
}