src/Searchable.php
public static function add($classname, $columns = array(), $title = null)
    {
        if ($title) {
            Deprecation::notice(1.1, "Title is no longer used, instead set ClassName.PluralName in translations");
        }

        self::config()->objects[$classname] = $columns;

        $cols_string = '"' . implode('","', $columns) . '"';
    }
public static function add($classname, $columns = array(), $title = null)
    {
        if ($title) {
            Deprecation::notice(1.1, "Title is no longer used, instead set ClassName.PluralName in translations");
        }

        self::config()->objects[$classname] = $columns;

        $cols_string = '"' . implode('","', $columns) . '"';
    }
Add an object to the Searchable module, this object will
automatically be added to the results page dashboard

@param $classname Classname of the object we want to search
@param $columns An array of database column names we will search
@param $title The title of this object (that will appear in the dashboard)