The Zend Framework team is pleased to announce the immediate availability of the 1.9.2 release. This release is the second maintenance release in the 1.9 series. Over 40 issues have been resolved for this release, covering more than 15 different components.
You may download it from the Zend Framework site.
For a full list of closed issues, you can visit:
Many thanks to all the contributors who helped with this release: issue reporters, documentation translators, and code contributors alike; the project gets better each release as the direct result of your efforts!


Comments (Login to leave comments)
Zend/Application.php
[ZF-6679]: Items configured from Zend_Application::setOptions() via a config entry do not have their keys cast to lower case
it is not issued in archive. file without a patch from here
http://framework.zend.com/issues/browse/ZF-6679
public function insert(array $data)
should be
public function insert(array &$data)
NOBODY TESTED TABLES WITH IDENTITY.
This is SO BASIC that I am afraid to use this thing for anything serious.
I am not sure what you are proposing. We have tested (check out our unit test) Zend_Db_* with all database vendors that implement IDENTITY as a type, as well as any types that remotely look like IDENTITY.
Also, insert() is an atomic operation. There is very little need to pass $data as a reference. We DO pass information into to some Zend_Db_Statement_* objects specifically in the area of handling parameters as binding values is not an atomic operation but in fact becomes part of the objects state.
Could you expand on what you are thinking?
-ralph
$this->getDbTable()->insert($data);
$admin->id = $data['id'];
in
public function save(Default_Model_Admin $admin)
since admin has autoincrement id and identity.
As far as I understand the Zend_Db_Table_Abstract code, the autoincremented id is returned through $data. However, I do not get it since $data is not modified.
If I use
$this->getDbTable()->insert(&$data);
then I get a PHP warning instead of ah HTML page.
So, what else but passing by reference both works and is PHP 5.3 style?