Try this (it seems safe):
<?php
class d3_oxarticle_test extends d3_oxarticle_test_parent {
public function __construct($aParams = null)
{
parent::__construct($aParams);
// this is for adding the field to the object
$this->_addField('d3_new_field', 0);
}
}
ps: can also be placed in init()
Mit freundlichen Grüßen
Kristian Hempel
Fresh ideas for your business
D³ Data Development · Stollberger Straße 23 · D-09380 Thalheim
Fon 03721 268090
Fax 03721 265234
##########################################################################################
Für Fehlermeldungen und Supportanfragen bitte ausschließlich folgende
Emailadresse nutzen!
[email protected]
Shop: http://www.oxidmodule.com · Firma: http://www.shopmodule.com
Blog: http://blog.oxidmodule.com · FAQ: http://faq.oxidmodule.de
############################################KH############################################
-------- Original Message --------
Subject: Re: [oxid-dev-general] Problem 4.5.6 oxubase (23-Jan-2012 16:17)
From: Tobias Merkl <[email protected]>
To: [email protected]
> Sorry guys, but now it´s an bug!
>
> All developer has to check their moduls for oxid > 4.5.6 and make db-
> fieldnames UPPERCASE ?!
>
> Kindest Regards
>
> Tobias
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:dev-general-bounces@
> lists.oxidforge.org] Im Auftrag von Linas Kukulskis
> Gesendet: Montag, 23. Januar 2012 15:59
> An: [email protected]
> Betreff: Re: [oxid-dev-general] Problem 4.5.6 oxubase
>
> Hi,
>
> its related to this bug: https://bugs.oxid-esales.com/view.php?id=3463.
>
>
> Linas Kukulskis
> Developer
>
> [email protected]
> Phone +370 37 333053
> Fax +370 37 333054
> www.oxid-esales.com
>
>
> OXID eSales AG
> Bertoldstraße 48, 79098 Freiburg, Germany
>
> Lithuanian Division
> K. Petrausko g. 26-316, Kaunas LT-44158, Lithuania
>
>
> Sales tax identification number: DE 231 450 866
> Board of directors authorized to represent the company:
> Roland Fesenmayr (chairman), Eric Jankowfsky, Andrea Seeger
> Chairman of the supervisory board: Harald Fuchs
> Head office Freiburg: Bertoldstraße 48, 79098 Freiburg, Germany
> Court of registration: Amtsgericht Freiburg i. Br., HRB 701648, Office
> reference number: 06/447/41949
>
>
>
> The next Generation of Premium eCommerce
>
>
> Latest version OXID eShop 4 as open source
>
>
> ________________________________________
> From: [email protected] [dev-general-bounces@lists.
> oxidforge.org] on behalf of Tobias Merkl [[email protected]]
> Sent: Monday, January 23, 2012 3:44 PM
> To: [email protected]
> Subject: [oxid-dev-general] Problem 4.5.6 oxubase
>
> Hello guys,
>
> after changes in oxubase.php eShop 4.5.6 we have problems with custom
> database fields.
>
> All custom fields are no longer in the e. g. article object.
>
> There is no entry in bugtracker / changelog, why?
>
> Kindest Regards
>
> Tobias
>
>
>
> *************************************
> shoptimax GmbH
> Guntherstraße 45a
> 90461 Nürnberg
> Tel (09 11) 2 55 66 - 25
> Fax (09 11) 2 55 66 - 29
> eMail [email protected]
> Web www.shoptimax.de
> *************************************
> Geschäftsführung: Friedrich Schreieck
> Ust.-IdNr.: DE 814340642
> Amtsgericht Nürnberg HRB 21703
> *************************************
>
>
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
>
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general