示例#1
0
 public function __construct($id = NULL)
 {
     Kohana::$profiling === TRUE && ($bm = Profiler::start('ORM', __FUNCTION__));
     parent::__construct($id);
     $this->after_initialize();
     isset($bm) && Profiler::stop($bm);
 }
示例#2
0
文件: orm.php 项目: jimktrains/rccms
 public function __construct($id = NULL)
 {
     parent::__construct($id);
     $this->_version_table_name = $this->_table_name . $this->_version_table_suffix;
     $this->_version_of = $this->_object_name . '_' . $this->_primary_key;
     $this->_ignored_columns[] = $this->_version_coloumn_reason;
     $this->_ignored_columns[] = $this->_version_of;
     $this->_real_table = $this->_table_name;
 }
示例#3
0
文件: ORM.php 项目: stecj/sime
 public function __construct($id = NULL)
 {
     parent::__construct($id);
 }