Lines Matching refs:result
25 $result = [ variable
40 $result['type'] = 'preview';
42 $result['type'] = 'standard';
43 $result['pageid'] = $id;
44 $result['lang'] = $conf['lang'];
47 $result['title'] = $meta['title'];
53 $result['content_urls'] = [
65 $result['content_urls'] = [
73 $result['extract'] = ( count($parts) > 2 ? $parts[2] : '' );
74 $result['extract_html'] = '<p>'. ( count($parts) > 2 ? $parts[2] : '' ) .'</p>';
78 $result['extract'] = 'Error: page does not exist.';
79 $result['extract_html'] = '<p><strong>' . $result['extract'] . '</strong></p>';
84 echo json_encode($result);