Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 550 Rev 1246
Línea 59... Línea 59...
59
        return $this->executeFetchOneObject($select, $prototype);
59
        return $this->executeFetchOneObject($select, $prototype);
60
    }
60
    }
Línea 61... Línea 61...
61
 
61
 
62
    /**
62
    /**
-
 
63
     *
-
 
64
     * @param int $id
-
 
65
     * @return JobDescription
-
 
66
     */
-
 
67
    public function fetchAll($id) {
-
 
68
        $select = $this->sql->select(self::_TABLE);
-
 
69
        $select->where->equalTo('id', $id);
-
 
70
        $select->limit(1);
-
 
71
 
-
 
72
        $prototype = new JobDescription();
-
 
73
        return $this->executeFetchAllObject($select, $prototype);
-
 
74
    }
-
 
75
 
-
 
76
    /**
63
     *
77
     *
64
     * @return JobDescription[]
78
     * @return JobDescription[]
65
     */
79
     */
66
    public function fetchAllByDefault() {
80
    public function fetchAllByDefault() {
67
        $select = $this->sql->select(self::_TABLE);
81
        $select = $this->sql->select(self::_TABLE);