[ Index ] |
|
Code source de SPIP Agora 1.4 |
1 <?php 2 /***************************************************** 3 * This file is part of Agora, web based content management system. 4 * 5 * Agora is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; version 2 of the License. 8 * 9 * Agora is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details (file "COPYING"). 13 * 14 * Copyright © Arnaud Martin, Antoine Pitrou et Philippe Rivière. 15 * List of authors detailed in "copyright_fr.html" file. 16 * E-mail : agora@sig.premier-ministre.gouv.fr 17 * Web site : http://www.agora.gouv.fr 18 *****************************************************/ 19 // Helper class to store a Search Result 20 // 21 22 /** 23 * This class is designed to provide information about a given result 24 * from the indexer 25 * 26 * @author Antoine Angénieux <aangenieux@clever-age.com> 27 * @version $Revision$ 28 */ 29 30 class SearchResult { 31 32 // {{{ properties 33 34 /** 35 * This attribute represents the pertinence of this result 36 * @var int 37 * @access public 38 */ 39 var $pertinence; 40 41 /** 42 * This attribute represents the filesystem path to the 43 * result file 44 * @var String 45 * @access public 46 */ 47 var $path; 48 49 /** 50 * This attribute represents the virtual path to the 51 * result file 52 * @var String 53 * @access public 54 */ 55 var $vpath; 56 57 /** 58 * This attribute represents the title (if available) 59 * of this result 60 * @var String 61 * @access public 62 */ 63 var $title; 64 65 /** 66 * This attribute represents the filename of the 67 * result file 68 * @var String 69 * @access public 70 */ 71 var $filename; 72 73 /** 74 * This attribute represents an abstract for this result 75 * @var String 76 * @access public 77 */ 78 var $abstract; 79 80 // }}} 81 82 // {{{ consutructor 83 84 /** 85 * Constructor for this helper class. 86 * @access public 87 */ 88 function SearchResult () { } 89 90 // }}} 91 92 } 93 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |