Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2152 Rev 2153
Línea 64... Línea 64...
64
     * 
64
     * 
65
     * @param int $id
65
     * @param int $id
66
     * @return Feed
66
     * @return Feed
67
     */
67
     */
68
    public function fetchOne($id)
68
    public function fetchOne($id)
69
    {
69
    {   $prototype = new Feed();
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);
72
        $select->where->equalTo('status', Feed::STATUS_PUBLISHED);
Línea 73... Línea -...
73
        
-
 
-
 
73
        
74
        $prototype = new Feed();
74
        
75
        return $this->executeFetchOneObject($select, $prototype);
75
        return $this->executeFetchOneObject($select, $prototype);
Línea 76... Línea 76...
76
    }
76
    }
77
 
77