Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 537 Rev 538
Línea 112... Línea 112...
112
        $select->order('name');
112
        $select->order('name');
Línea 113... Línea 113...
113
        
113
        
114
        $prototype = new JobDescription();
114
        $prototype = new JobDescription();
115
        return $this->executeFetchAllObject($select, $prototype);
115
        return $this->executeFetchAllObject($select, $prototype);
-
 
116
    }
-
 
117
 
-
 
118
 
-
 
119
    /**
-
 
120
     *
-
 
121
     * @param int $company_id
-
 
122
     * @param int $job_description_id_default
-
 
123
     * @return JobDescription
-
 
124
     */
-
 
125
    public function fetchOneByCompanyId($company_id, $job_description_id_default)
-
 
126
    {
-
 
127
        $select = $this->sql->select(self::_TABLE);
-
 
128
        $select->where->equalTo('company_id', $company_id);
-
 
129
        $select->where->equalTo('job_description_id_default', $job_description_id_default);
-
 
130
        $select->limit(1);
-
 
131
        
-
 
132
        $prototype = new JobDescription();
-
 
133
        return $this->executeFetchOneObject($select, $prototype);
Línea 116... Línea 134...
116
    }
134
    }
117
    
135
    
118
    
136