Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1659 Rev 1666
Línea 104... Línea 104...
104
        $prototype = new User(); 
104
        $prototype = new User(); 
105
        $select = $this->sql->select();
105
        $select = $this->sql->select();
106
        $select->from(['u' => $table_user]);
106
        $select->from(['u' => $table_user]);
107
        $select->join(['m' => self::_TABLE], 'm.user_id = u.id', []);
107
        $select->join(['m' => self::_TABLE], 'm.user_id = u.id', []);
108
        $select->where->equalTo('m.group_id', $group_id);
108
        $select->where->equalTo('m.group_id', $group_id);
-
 
109
        $select->where->notEqualTo('m.status', HighPerformanceTeamsGroupsMembers::STATUS_CANCELLED);
-
 
110
        $select->where->notEqualTo('m.status', HighPerformanceTeamsGroupsMembers::STATUS_REJECTED);
109
        return $this->executeFetchAllObject($select, $prototype);
111
        return $this->executeFetchAllObject($select, $prototype);
110
    }
112
    }
111
    public function insert($datos)
113
    public function insert($datos)
112
    {
114
    {
113
        $hydrator = new ObjectPropertyHydrator();
115
        $hydrator = new ObjectPropertyHydrator();