Issues

ZF-5836: Add __unset magic method to Zend_Db_Table_Abstract

Issue Type: Improvement Created: 2009-02-19T05:07:33.000+0000 Last Updated: 2009-02-24T00:32:46.000+0000 Status: Closed Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Stanislav Anisimov (satanistlav) Assignee: julien PAULI (doctorrock83) Tags: - Zend_Db_Table

Related issues: Attachments: - Zend_Db_Table_Row_Abstract#ZF-5836.patch

Description

$bugs = new Bugs(); $newRow = $bugs->createRow();

// Set column value $newRow->bug_description = '...description...';

//Should unset the column value but it doesn't unset($newRow->bug_description)

Comments

Posted by julien PAULI (doctorrock83) on 2009-02-20T05:12:45.000+0000

Patch attached, should be OK

Posted by julien PAULI (doctorrock83) on 2009-02-20T05:13:33.000+0000

That's a Zend_Db_Table_Row_Abstract feature

Posted by julien PAULI (doctorrock83) on 2009-02-24T00:32:45.000+0000

Fix is at r14153

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts