Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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