Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 619 Rev 621
Línea 103... Línea 103...
103
        $select = $this->sql->select(self::_TABLE);
103
        $select = $this->sql->select(self::_TABLE);
104
        $select->where->equalTo('uuid', $uuid);
104
        $select->where->equalTo('uuid', $uuid);
Línea 105... Línea 105...
105
        
105
        
106
        return $this->executeFetchOneObject($select, $prototype);
106
        return $this->executeFetchOneObject($select, $prototype);
-
 
107
    }
-
 
108
 
-
 
109
    /**
-
 
110
     *
-
 
111
     * @param int $id
-
 
112
     * @return MicrolearningCapsule
-
 
113
     */
-
 
114
    public function fetchOneById($id)
-
 
115
    {
-
 
116
        $prototype = new MicrolearningCapsule();
-
 
117
        $select = $this->sql->select(self::_TABLE);
-
 
118
        $select->where->equalTo('id', $id);
-
 
119
        
-
 
120
        return $this->executeFetchOneObject($select, $prototype);
-
 
121
    }
Línea 107... Línea 122...
107
    }
122
    
108
    
123
    
109
    /**
124
    /**
110
     * 
125
     *