00001 <?php 00002 00008 class oxPricealarm extends oxBase 00009 { 00015 protected $_sClassName = 'oxpricealarm'; 00016 00021 public function __construct() 00022 { 00023 parent::__construct(); 00024 $this->init( 'oxpricealarm' ); 00025 } 00026 00032 protected function _insert() 00033 { 00034 // set oxinsert value 00035 $this->oxpricealarm__oxinsert = new oxField(date( 'Y-m-d', oxUtilsDate::getInstance()->getTime() )); 00036 00037 return parent::_insert(); 00038 } 00039 }