Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5050 Rev 5054
Línea 86... Línea 86...
86
        $select = $this->sql->select(self::_TABLE);
86
        $select = $this->sql->select(self::_TABLE);
87
        $select->where->equalTo('email', $email);
87
        $select->where->equalTo('email', $email);
Línea 88... Línea 88...
88
        
88
        
89
        return $this->executeFetchOneObject($select, $prototype);
89
        return $this->executeFetchOneObject($select, $prototype);
-
 
90
    }
-
 
91
    
-
 
92
    /**
-
 
93
     *
-
 
94
     * @param string $email
-
 
95
     * @param int $company_id
-
 
96
     * @return RecruitmentSelectionCandidate
-
 
97
     */
-
 
98
    public function fetchOneActiveByEmailAndCompanyId($email, $company_id)
-
 
99
    {
-
 
100
        $prototype = new RecruitmentSelectionCandidate();
-
 
101
        $select = $this->sql->select(self::_TABLE);
-
 
102
        $select->where->equalTo('email', $email);
-
 
103
        $select->where->equalTo('company_id', $company_id);
-
 
104
        
-
 
105
        //echo $select->getSqlString($this->adapter->platform); exit;
-
 
106
        
-
 
107
        return $this->executeFetchOneObject($select, $prototype);
Línea 90... Línea 108...
90
    }
108
    }
91
   
109
   
92
    /**
110
    /**
93
     *
111
     *