Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6388 Rev 6521
Línea 61... Línea 61...
61
    }
61
    }
Línea 62... Línea 62...
62
    
62
    
63
    
63
    
-
 
64
    /**
-
 
65
     *
-
 
66
     * @param int $id
-
 
67
     * @param int $network_id
-
 
68
     * @return MyCoachCategory
-
 
69
     */
-
 
70
    public function fetchOneAndNetworkId($id, $network_id)
-
 
71
    {
-
 
72
        
-
 
73
        $select = $this->sql->select(self::_TABLE);
-
 
74
        $select->where->equalTo('id', $id);
-
 
75
        $select->where->equalTo('network_id', $network_id);
-
 
76
        
-
 
77
        $prototype = new MyCoachCategory();
-
 
78
        return $this->executeFetchOneObject($select, $prototype);
-
 
79
    }
-
 
80
    
-
 
81
    
64
    /**
82
    /**
65
     *
83
     *
66
     * @param string $uuid
84
     * @param string $uuid
67
     * @return MyCoachCategory
85
     * @return MyCoachCategory
68
     */
86
     */
Línea 74... Línea 92...
74
        
92
        
75
        $prototype = new MyCoachCategory();
93
        $prototype = new MyCoachCategory();
76
        return $this->executeFetchOneObject($select, $prototype);
94
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 95...
-
 
95
    }
-
 
96
    
-
 
97
    
-
 
98
    /**
-
 
99
     *
-
 
100
     * @param string $uuid
-
 
101
     * @param int $network_id
-
 
102
     * @return MyCoachCategory
-
 
103
     */
-
 
104
    public function fetchOneByUuidAndNetworkId($uuid, $network_id)
-
 
105
    {
-
 
106
        
-
 
107
        $select = $this->sql->select(self::_TABLE);
-
 
108
        $select->where->equalTo('uuid', $uuid);
-
 
109
        $select->where->equalTo('network_id', $network_id);
-
 
110
        
-
 
111
        $prototype = new MyCoachCategory();
-
 
112
        return $this->executeFetchOneObject($select, $prototype);
Línea 77... Línea 113...
77
    }
113
    }
78
    
114
    
79
    
115