Sources/BestAnswer/BestAnswer.php
/**
	 * Registers the hooks for the visual changes in a topic view.
	 */
Registers the hooks for the visual changes in a topic view.
Registers the hooks for the visual changes in a topic view .
public static function initTopicView()
	{
		if (empty($_GET['topic']))
			return;
		add_integration_function('integrate_display_topic', '\SychO\BestAnswer\TopicView::selectBestMsg', false);
		add_integration_function('integrate_display_message_list', '\SychO\BestAnswer\TopicView::loadBestAnswer', false);
		add_integration_function('integrate_prepare_display_context', '\SychO\BestAnswer\TopicView::prepareMsgContext', false);
		add_integration_function('integrate_load_theme', '\SychO\BestAnswer\TopicView::addMinimalCss', false);
		add_integration_function('integrate_buffer', '\SychO\BestAnswer\TopicView::buffer', false);
		self::initActions();
	}
public static function initTopicView ( ) { if ( empty ( $ _GET [ 'topic' ] ) ) return ; add_integration_function ( 'integrate_display_topic' , '\SychO\BestAnswer\TopicView::selectBestMsg' , false ) ; add_integration_function ( 'integrate_display_message_list' , '\SychO\BestAnswer\TopicView::loadBestAnswer' , false ) ; add_integration_function ( 'integrate_prepare_display_context' , '\SychO\BestAnswer\TopicView::prepareMsgContext' , false ) ; add_integration_function ( 'integrate_load_theme' , '\SychO\BestAnswer\TopicView::addMinimalCss' , false ) ; add_integration_function ( 'integrate_buffer' , '\SychO\BestAnswer\TopicView::buffer' , false ) ; self :: initActions ( ) ; }
Registers the hooks for the visual changes in a topic view.
Registers the hooks for the visual changes in a topic view .