Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 169 Rev 192
Línea 97... Línea 97...
97
        
97
        
98
        $prototype = new Competency();
98
        $prototype = new Competency();
99
        return $this->executeFetchOneObject($select, $prototype);
99
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 100...
-
 
100
    }
-
 
101
    
-
 
102
    /**
-
 
103
     *
-
 
104
     * @param int $company_id
-
 
105
     * @return Competency[]
-
 
106
     */
-
 
107
    public function fetchAllActiveByCompanyId($company_id)
-
 
108
    {
-
 
109
        $select = $this->sql->select(self::_TABLE);
-
 
110
        $select->where->equalTo('company_id', $company_id);
-
 
111
        $select->where->equalTo('status', Competency::STATUS_ACTIVE);
-
 
112
        
-
 
113
        
-
 
114
        $prototype = new Competency();
-
 
115
        return $this->executeFetchAllObject($select, $prototype);
Línea 100... Línea 116...
100
    }
116
    }
101
    
117
    
102
    
-
 
103
    /**
118
    
104
     *
119
    /**
105
     * @param string $uuid
120
     *
106
     * @return Competency[]
121
     * @return Competency[]
107
     */
122
     */