Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5561 Rev 6330
Línea 91... Línea 91...
91
        $prototype = new DiscoveryContact();
91
        $prototype = new DiscoveryContact();
92
        return $this->executeFetchOneObject($select, $prototype);
92
        return $this->executeFetchOneObject($select, $prototype);
93
    }
93
    }
Línea -... Línea 94...
-
 
94
    
-
 
95
    
-
 
96
    /**
-
 
97
     *
-
 
98
     * @param  int $company_id
-
 
99
     * @return DiscoveryContact[]
-
 
100
     */
-
 
101
    public function fetchAllByCompanyId($company_id)
-
 
102
    {
-
 
103
        
-
 
104
        $select = $this->sql->select(self::_TABLE);
-
 
105
        $select->where->equalTo('company_id', $company_id);
-
 
106
        
-
 
107
        $prototype = new DiscoveryContact();
-
 
108
        return $this->executeFetchAllObject($select, $prototype);
-
 
109
    }
-
 
110
    
Línea 94... Línea 111...
94
    
111
    
95
    
112
    
96
    
113