comparison Keyword.class.php @ 39:8965ef108821

change: modify all scripts for web base setting.
author Sushi-k <epgrec@park.mda.or.jp>
date Tue, 28 Jul 2009 11:50:04 +0900
parents e5f9aa34d06f
children 3d6e7c606896
comparison
equal deleted inserted replaced
38:2bc96d657ba1 39:8965ef108821
5 include_once( INSTALL_PATH . "/Reservation.class.php" ); 5 include_once( INSTALL_PATH . "/Reservation.class.php" );
6 include_once( INSTALL_PATH . '/Settings.class.php' ); 6 include_once( INSTALL_PATH . '/Settings.class.php' );
7 7
8 class Keyword extends DBRecord { 8 class Keyword extends DBRecord {
9 9
10 protected $settings;
11
12 public function __construct($property = null, $value = null ) { 10 public function __construct($property = null, $value = null ) {
13 $this->settings = Settings::factory();
14
15 try { 11 try {
16 parent::__construct(KEYWORD_TBL, $property, $value ); 12 parent::__construct(KEYWORD_TBL, $property, $value );
17 } 13 }
18 catch( Exception $e ) { 14 catch( Exception $e ) {
19 throw $e; 15 throw $e;