All pastes #927351 Raw Edit

grom358

public php v1 · immutable
·published 2008-03-04 06:18 UTC
rendered paste body
function mymodule_search($op = 'search', $keys = null) {	switch($op) {		case 'name':			return t('Content');		case 'search':			$results[] = array(				'link' => 'http://test.com',				'title' => 'Test',				'extra' => array(),				'snippet' => 'This is a test'			);			return $results;	}}