Re: [fw-general] JSON encoding problem

2007-02-27 Thread Dmitry Shirokov
On 27/02/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: -- Dmitry Shirokov <[EMAIL PROTECTED]> wrote (on Tuesday, 27 February 2007, 04:11 PM +): > hello guys, i had weird problem with code like that (zf 0.7.0): > > foreach ($this->_subSites->fetchAll() as $subSite) > { > $resRow

Re: [fw-general] JSON encoding problem

2007-02-27 Thread Matthew Weier O'Phinney
-- Dmitry Shirokov <[EMAIL PROTECTED]> wrote (on Tuesday, 27 February 2007, 04:11 PM +): > hello guys, i had weird problem with code like that (zf 0.7.0): > > foreach ($this->_subSites->fetchAll() as $subSite) > { > $resRow = new StdClass;

[fw-general] JSON encoding problem

2007-02-27 Thread Dmitry Shirokov
hello guys, i had weird problem with code like that (zf 0.7.0): foreach ($this->_subSites->fetchAll() as $subSite) { $resRow = new StdClass; $resRow->id = $subSite->id; $resRow->subDomain = $subSite->subDomain; $resRow->image = $subSite->image; $res[] = $resRow;