[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/modules/smartsearch/ -> setup.php (source)

   1  <?php /* $Id: setup.php 40 2008-02-11 12:11:44Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/modules/smartsearch/setup.php $ */
   2  if (!defined('W2P_BASE_DIR')) {
   3      die('You should not access this file directly.');
   4  }
   5  
   6  // MODULE CONFIGURATION DEFINITION

   7  $config = array();
   8  $config['mod_name'] = 'SmartSearch';
   9  $config['mod_version'] = '2.0';
  10  $config['mod_directory'] = 'smartsearch';
  11  $config['mod_setup_class'] = 'SSearchNS';
  12  $config['mod_type'] = 'user';
  13  $config['mod_ui_name'] = 'SmartSearch';
  14  $config['mod_ui_icon'] = 'kfind.png';
  15  $config['mod_description'] = 'A module to search keywords and find the needle in the haystack';
  16  
  17  if ($a == 'setup') {
  18      echo w2PshowModuleConfig($config);
  19  }
  20  
  21  class SSearchNS {
  22  
  23  	function install() {
  24          return null;
  25      }
  26  
  27  	function remove() {
  28          return null;
  29      }
  30  
  31  	function upgrade() {
  32          return null;
  33      }
  34  }
  35  
  36  ?>


Generated: Thu Jan 8 03:00:03 2009 Cross-referenced by PHPXref 0.7