Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2012 Rev 2051
Línea 314... Línea 314...
314
        $select->order('title');
314
        $select->order('title');
Línea 315... Línea 315...
315
        
315
        
316
        return $this->executeFetchAllObject($select, $prototype);
316
        return $this->executeFetchAllObject($select, $prototype);
Línea -... Línea 317...
-
 
317
    }
-
 
318
 
-
 
319
    /**
-
 
320
     *
-
 
321
     * @return Feed
-
 
322
     */
-
 
323
    public function fetchAllByMytAnswer($myt_id)
-
 
324
    {
-
 
325
        $prototype = new Feed();
-
 
326
        
-
 
327
        $select = $this->sql->select(self::_TABLE);
-
 
328
        $select->where->equalTo('myt_id', $myt_id);
-
 
329
        $select->where->equalTo('type', Feed::TYPE_MYT_ANSWER);
-
 
330
        $select->where->notEqualTo('status', Feed::STATUS_DELETED);
-
 
331
        $select->order('title');
-
 
332
        
-
 
333
        return $this->executeFetchAllObject($select, $prototype);
317
    }
334
    }
318
 
335