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
-- 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;
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;