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