Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2160 Rev 2163
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->notEqualTo('status', Feed::STATUS_DELETED);
73
        //$select->getSqlString($this->adapter->platform);
74
        //$select->getSqlString($this->adapter->platform);
Línea 74... Línea 75...
74
        
75
        
75
        return $this->executeFetchOneObject($select, $prototype);
76
        return $this->executeFetchOneObject($select, $prototype);
Línea 98... Línea 99...
98
     */
99
     */
99
    public function fetchOneByUuid($uuid)
100
    public function fetchOneByUuid($uuid)
100
    {   $prototype = new Feed();
101
    {   $prototype = new Feed();
101
        $select = $this->sql->select(self::_TABLE);
102
        $select = $this->sql->select(self::_TABLE);
102
        $select->where->equalTo('uuid', $uuid);
103
        $select->where->equalTo('uuid', $uuid);
-
 
104
        $select->where->notEqualTo('status', Feed::STATUS_DELETED);
103
        //$select->getSqlString($this->adapter->platform);
105
        //$select->getSqlString($this->adapter->platform);
Línea 104... Línea 106...
104
       
106
       
105
        return $this->executeFetchOneObject($select, $prototype);
107
        return $this->executeFetchOneObject($select, $prototype);