[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/modules/smartsearch/searchobjects/ -> departments.inc.php (source)

   1  <?php /* SMARTSEARCH$Id: departments.inc.php,v 1.7.2.4 2007/03/06 00:34:43 merlinyoda Exp $ */
   2  if (!defined('W2P_BASE_DIR')) {
   3      die('You should not access this file directly.');
   4  }
   5  
   6  /**
   7   * departments Class
   8   */
   9  class departments extends smartsearch {
  10      var $table = 'departments';
  11      var $table_module = 'departments';
  12      var $table_key = 'dept_id';
  13      var $table_link = 'index.php?m=departments&a=view&dept_id=';
  14      var $table_title = 'Departments';
  15      var $order_by = 'dept_name';
  16      var $search_fields = array('dept_name', 'dept_address1', 'dept_address2', 'dept_city', 'dept_state', 'dept_zip', 'dept_url', 'dept_desc');
  17      var $display_fields = array('dept_name', 'dept_address1', 'dept_address2', 'dept_city', 'dept_state', 'dept_zip', 'dept_url', 'dept_desc');
  18  
  19  	function cdepartments() {
  20          return new departments();
  21      }
  22  }
  23  ?>


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