Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2151 Rev 2152
Línea 67... Línea 67...
67
     */
67
     */
68
    public function fetchOne($id)
68
    public function fetchOne($id)
69
    {
69
    {
70
        $select = $this->sql->select(self::_TABLE);
70
        $select = $this->sql->select(self::_TABLE);
71
        $select->where->equalTo('id', $id);
71
        $select->where->equalTo('id', $id);
-
 
72
        $select->where->equalTo('status', Feed::STATUS_PUBLISHED);
Línea 72... Línea 73...
72
        
73
        
73
        $prototype = new Feed();
74
        $prototype = new Feed();
74
        return $this->executeFetchOneObject($select, $prototype);
75
        return $this->executeFetchOneObject($select, $prototype);