Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2051 Rev 2054
Línea 331... Línea 331...
331
        $select->order('title');
331
        $select->order('title');
Línea 332... Línea 332...
332
        
332
        
333
        return $this->executeFetchAllObject($select, $prototype);
333
        return $this->executeFetchAllObject($select, $prototype);
Línea -... Línea 334...
-
 
334
    }
-
 
335
 
-
 
336
    /**
-
 
337
     *
-
 
338
     * @return Feed
-
 
339
     */
-
 
340
    public function fetchAllByMytAnswerComented()
-
 
341
    {
-
 
342
        $prototype = new Feed();
-
 
343
        
-
 
344
        $select = $this->sql->select(self::_TABLE);
-
 
345
        $select->where->equalTo('type', Feed::TYPE_MYT_ANSWER);
-
 
346
        $select->where->notEqualTo('status', Feed::STATUS_DELETED);
-
 
347
        $select->order('title');
-
 
348
        
-
 
349
        $record = $this->executeFetchAllObject($select, $prototype);
-
 
350
        return $record['myt_id'];
334
    }
351
    }
335
 
352