public function LinkitSearchPlugin::__construct in Linkit 7.3
Initialize this search plugin with the search plugin and the profile.
Parameters
$plugin: A search plugin object.
LinkitProfile $profile: A LinkitProfile object.
1 call to LinkitSearchPlugin::__construct()
- LinkitSearchPluginEntity::__construct in plugins/
linkit_search/ entity.class.php - Overrides LinkitSearchPlugin::__construct().
1 method overrides LinkitSearchPlugin::__construct()
- LinkitSearchPluginEntity::__construct in plugins/
linkit_search/ entity.class.php - Overrides LinkitSearchPlugin::__construct().
File
- includes/
search_plugin.class.php, line 87 - Linkit Search plugin interface.
Class
- LinkitSearchPlugin
- Base class for Linkit search plugins.
Code
public function __construct($plugin, LinkitProfile $profile) {
$this->plugin = $plugin;
$this->profile = $profile;
}