Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1496 Rev 1497
Línea 115... Línea 115...
115
     * @return SurveyTest
115
     * @return SurveyTest
116
     */
116
     */
117
    public function fetchOneBySurveyId($survey_id)
117
    public function fetchOneBySurveyId($survey_id)
118
    {
118
    {
119
        $prototype = new SurveyTest();
119
        $prototype = new SurveyTest();
120
        
-
 
121
        $select = $this->sql->select(self::_TABLE);
120
        $select = $this->sql->select(self::_TABLE);
122
        $select->where->equalTo('survey_id', $survey_id);
121
        $select->where->equalTo('survey_id', $survey_id);
Línea 123... Línea 122...
123
        
122
        
124
        return $this->executeFetchOneObject($select, $prototype);
123
        return $this->executeFetchOneObject($select, $prototype);