Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4235 Rev 6330
Línea 60... Línea 60...
60
        return $this->executeFetchOneObject($select, $prototype);
60
        return $this->executeFetchOneObject($select, $prototype);
61
    }
61
    }
Línea 62... Línea 62...
62
    
62
    
63
    /**
63
    /**
-
 
64
     *
-
 
65
     * @param int $contact_id 
-
 
66
     * @param int $interaction_type_id
-
 
67
     * @return DiscoveryContactInteraction
-
 
68
     */
-
 
69
    public function fetchByContactIdAndInteractionTypeId($contact_id, $interaction_type_id)
-
 
70
    {
-
 
71
        
-
 
72
        $select = $this->sql->select(self::_TABLE);
-
 
73
        $select->where->equalTo('contact_id', $contact_id);
-
 
74
        $select->where->equalTo('interaction_type_id', $interaction_type_id);
-
 
75
        
-
 
76
        
-
 
77
        $prototype = new DiscoveryContactInteraction();
-
 
78
        return $this->executeFetchOneObject($select, $prototype);
-
 
79
    }
-
 
80
    
-
 
81
    
-
 
82
    /**
64
     *
83
     *
65
     * @param string $uuid
84
     * @param string $uuid
66
     * @return DiscoveryContactInteraction
85
     * @return DiscoveryContactInteraction
67
     */
86
     */
68
    public function fetchOneByUuid($uuid)
87
    public function fetchOneByUuid($uuid)
Línea 125... Línea 144...
125
        
144
        
126
        return $result;
145
        return $result;
Línea -... Línea 146...
-
 
146
    }
-
 
147
    
-
 
148
    
-
 
149
    /**
-
 
150
     *
-
 
151
     * @param array $values
-
 
152
     * @return boolean
-
 
153
     */
-
 
154
    public function insertRaw($values)
-
 
155
    {
127
    }
156
        $insert = $this->sql->insert(self::_TABLE);
-
 
157
        $insert->values($values);
Línea 128... Línea 158...
128
    
158
        return $this->executeInsert($insert);
129
    
159