/** * @param string $table * @param string $idfield * @return $this */ protected function _init($table, $idfield = 'id') { $this->_table = $table; $this->_idfield = $idfield; self::$___id_field = $idfield; $this->describe(); return $this; }