Issues

ZF-337: Zend_Db_Table_Row: implement array iterator for DB_ROW

Issue Type: New Feature Created: 2006-08-25T04:36:25.000+0000 Last Updated: 2007-07-05T14:43:18.000+0000 Status: Resolved Fix version(s): - 0.8.0 (21/Feb/07)

Reporter: Superbiji (superbiji) Assignee: Bill Karwin (bkarwin) Tags: - Zend_Db

Related issues: - ZF-21

Attachments:

Description

I mean.. implement array iterator for Zend_DB::Row

so I can do,

    $m=new MailUser;
    $au=$m->find($this->_getParam("what"));
            foreach( $au as $k => $v ) 

{ $k contains each field name

}

and can do this in view:

au["username"] ?> yeah just like AR in RoR ^^

Thanks

Comments

Posted by Bill Karwin (bkarwin) on 2006-11-13T15:22:36.000+0000

Changing fix version to 0.8.0.

Posted by Bill Karwin (bkarwin) on 2007-01-02T19:42:36.000+0000

ZF-21 is the same issue.

Posted by Bill Karwin (bkarwin) on 2007-01-02T19:42:51.000+0000

Resolving as duplicate.

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