Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3210 | Rev 3212 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3210 Rev 3211
Línea 455... Línea 455...
455
 
455
 
456
        return $this->executeFetchAllObject($select, $prototype);
456
        return $this->executeFetchAllObject($select, $prototype);
Línea -... Línea 457...
-
 
457
    }
-
 
458
 
-
 
459
 
-
 
460
    /**
-
 
461
     *
-
 
462
     * @return Feed
-
 
463
     */
-
 
464
    public function fetchAllByDevelopAndCategoryIdCount($id)
-
 
465
    {
-
 
466
        $select = $this->sql->select(self::_TABLE);
-
 
467
        $select->columns(['total' => new Expression('COUNT(id)')]);
-
 
468
        $select->where->notEqualTo('status', Feed::STATUS_DELETED);
-
 
469
        $record = $this->executeFetchOneArray($select);
-
 
470
        return $record['total'];
457
    }
471
    }
458
 
472
 
459
 
473
 
460
     /**
474
     /**
461
     *
475
     *