File: /var/www/ilya/data/www/irkboard.ru/admin/applications/members/extensions/searchDisplay.php
<?php
/**
* Invision Power Services
* IP.Board v3.0.1
* Format member search results
* Last Updated: $Date: 2009-04-07 18:03:32 -0400 (Tue, 07 Apr 2009) $
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package Invision Power Board
* @subpackage Members
* @link http://www.invisionpower.com
* @version $Rev: 4422 $
**/
class membersSearchDisplay implements iSearchDisplay
{
/**
* The search plugin for this app
*
* @access public
* @var object
*/
public $search_plugin;
/**
* Formats the member search result for display
*
* @access public
* @param array $search_row Array of data from search_index
* @return string Formatted content, ready for display
*/
public function formatContent( $search_row )
{
$search_row['misc'] = unserialize( $search_row['misc'] );
return ipsRegistry::getClass( 'output' )->getTemplate( 'search' )->memberSearchResult( $search_row, $this->search_plugin->onlyTitles );
}
/**
* Retuns the html for displaying the member filter on the advanced search page
*
* @access public
* @return string
*/
public function getFilterHTML()
{
return '';
}
/**
* Build filter SQL data
*
* @access public
* @param array
* @return array
*/
public function buildFilterSQL( $data )
{
return array();
}
}