17 require_once SQ_INCLUDE_PATH.
'/package_manager.inc';
41 $this->_full_path = SQ_PACKAGES_PATH.
'/search';
57 return Array(
'search_manager');
70 $system_management_folder = $GLOBALS[
'SQ_SYSTEM']->am->getSystemAsset(
'system_management_folder');
72 $GLOBALS[
'SQ_SYSTEM']->am->includeAsset(
'search_manager');
74 $search_manager_link = Array(
'asset' => &$system_management_folder,
'link_type' => SQ_LINK_TYPE_1,
'is_exclusive' => 1);
75 if (!$search_manager->create($search_manager_link)) {
76 trigger_localised_error(
'SCH0007', E_USER_ERROR);
78 pre_echo(
'Search Manager Asset Id : '.$search_manager->id);
80 $GLOBALS[
'SQ_SYSTEM']->am->registerSystemAsset(
'search_manager', $search_manager->id);
82 return $search_manager;