dao = new Dao_Players(); } public function get_autoincrement (){ return $this->dao->get_autoincrement(); } // DATA NEW PLAYER public function get_default_options (){ $options = get_option(Thrixty::DEFAULT_OPTIONS); if ( $options != null ) { return $options; } else { return array(); } } // DATA EDIT PLAYER public function get_player_options ( $id ){ $options = $this->dao->get( $id ); if ( $options != null ) { return $options; } else { return array(); } } public function get_dao(){ return $this->dao; } } ?>