Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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