Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 3639
Línea 78... Línea 78...
78
        $select->where->equalTo('uuid', $uuid);
78
        $select->where->equalTo('uuid', $uuid);
Línea 79... Línea 79...
79
        
79
        
80
        return $this->executeFetchOneObject($select, $prototype);
80
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 81...
-
 
81
    }
-
 
82
    
-
 
83
    
-
 
84
    /**
-
 
85
     *
-
 
86
     * @param int $id
-
 
87
     * @param int $network_id
-
 
88
     * @return Group
-
 
89
     */
-
 
90
    public function fetchOneByIdAndNetworkId($id, $network_id)
-
 
91
    {
-
 
92
        $prototype = new Group();
-
 
93
        
-
 
94
        $select = $this->sql->select(self::_TABLE);
-
 
95
        $select->where->equalTo('id', $id);
-
 
96
        $select->where->equalTo('network_id', $network_id);
-
 
97
        
-
 
98
        return $this->executeFetchOneObject($select, $prototype);
-
 
99
    }
-
 
100
    
-
 
101
    
-
 
102
    
-
 
103
    /**
-
 
104
     *
-
 
105
     * @param string $uuid
-
 
106
     * @param int $network_id
-
 
107
     * @return Group
-
 
108
     */
-
 
109
    public function fetchOneByUuidAndNetworkId($uuid, $network_id)
-
 
110
    {
-
 
111
        $prototype = new Group();
-
 
112
        
-
 
113
        $select = $this->sql->select(self::_TABLE);
-
 
114
        $select->where->equalTo('uuid', $uuid);
-
 
115
        $select->where->equalTo('network_id', $network_id);
-
 
116
        
-
 
117
        return $this->executeFetchOneObject($select, $prototype);
81
    }
118
    }
82
    
119
    
83
    /**
120
    /**
84
     * 
121
     * 
85
     * @param int $user_id
122
     * @param int $user_id