Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3143 Rev 3146
Línea 111... Línea 111...
111
     *
111
     *
112
     * @param int $feed_uuid
112
     * @param int $feed_uuid
113
     * @return Feed
113
     * @return Feed
114
     */
114
     */
115
    public function fetchOneByUuid($uuid)
115
    public function fetchOneByUuid($uuid)
-
 
116
    {   
116
    {   $prototype = new Feed();
117
        $prototype = new Feed();
117
        $select = $this->sql->select(self::_TABLE);
118
        $select = $this->sql->select(self::_TABLE);
118
        $select->where->equalTo('uuid', $uuid);
119
        $select->where->equalTo('uuid', $uuid);
119
        $select->where->notEqualTo('status', Feed::STATUS_DELETED);
120
        $select->where->notEqualTo('status', Feed::STATUS_DELETED);
120
        //$select->getSqlString($this->adapter->platform);
121
        //$select->getSqlString($this->adapter->platform);
Línea 121... Línea 122...
121
       
122
       
122
        return $this->executeFetchOneObject($select, $prototype);
123
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 124...
-
 
124
    }
-
 
125
    
-
 
126
    
-
 
127
    /**
-
 
128
     *
-
 
129
     * @param int $feed_uuid
-
 
130
     * @return Feed
-
 
131
     */
-
 
132
    public function fetchOneByUuidAnyStatus($uuid)
-
 
133
    {   
-
 
134
        $prototype = new Feed();
-
 
135
        $select = $this->sql->select(self::_TABLE);
-
 
136
        $select->where->equalTo('uuid', $uuid);
-
 
137
    
-
 
138
        
-
 
139
        return $this->executeFetchOneObject($select, $prototype);
123
    }
140
    }
124
    
141
    
125
    /**
142
    /**
126
     *
143
     *
127
     * @return Feed[]
144
     * @return Feed[]