function &_get_search_phrase_register() { if (!$this->_search_phrase_register) { $this->_search_phrase_register =& stats_search_phrase::instance(); } return $this->_search_phrase_register; }
<?php /********************************************************************************** * Copyright 2004 BIT, Ltd. http://www.limb-project.com, mailto: support@limb-project.com * * Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html) *********************************************************************************** * * $Id$ * ***********************************************************************************/ require_once(LIMB_DIR . '/core/model/stats/search_engine_rules/search_engine_google_rule.class.php'); require_once(LIMB_DIR . '/core/model/stats/search_engine_rules/search_engine_yandex_rule.class.php'); require_once(LIMB_DIR . '/core/model/stats/search_engine_rules/search_engine_mailru_rule.class.php'); require_once(LIMB_DIR . '/core/model/stats/search_engine_rules/search_engine_rambler_rule.class.php'); require_once(LIMB_DIR . '/core/model/stats/search_engine_rules/search_engine_aport_rule.class.php'); require_once(LIMB_DIR . '/core/model/stats/stats_search_phrase.class.php'); $instance =& stats_search_phrase :: instance(); $instance->register_search_engine_rule( new search_engine_google_rule()); $instance->register_search_engine_rule( new search_engine_yandex_rule()); $instance->register_search_engine_rule( new search_engine_rambler_rule()); $instance->register_search_engine_rule( new search_engine_mailru_rule()); $instance->register_search_engine_rule( new search_engine_aport_rule()); ?>