Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 644 Rev 645
Línea 145... Línea 145...
145
    }
145
    }
Línea 146... Línea 146...
146
    
146
    
147
    
147
    
148
    /**
148
    /**
149
     *
149
     *
150
     * @param int $companyId
150
     * @param int $company_id
151
     * @param string $search
151
     * @param string $search
152
     * @param int $page
152
     * @param int $page
153
     * @param int $records_per_page
153
     * @param int $records_per_page
154
     * @param string $order_field
154
     * @param string $order_field
155
     * @param string $order_direction
155
     * @param string $order_direction
156
     * @return Paginator
156
     * @return Paginator
157
     */
157
     */
158
    public function fetchAllDataTableByCompanyId($companyId, $search, $page = 1, $records_per_page = 10, $order_field= 'name', $order_direction = 'ASC')
158
    public function fetchAllDataTableByCompanyId($company_id, $search, $page = 1, $records_per_page = 10, $order_field= 'name', $order_direction = 'ASC')
159
    {
159
    {
160
        $prototype = new RecruitmentForm();
160
        $prototype = new RecruitmentForm();
Línea 161... Línea 161...
161
        $select = $this->sql->select(self::_TABLE);
161
        $select = $this->sql->select(self::_TABLE);
162
        $select->where->equalTo('company_id', $companyId);
162
        $select->where->equalTo('company_id', $company_id);
163
        
163
        
164
        if($search) {
164
        if($search) {