Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1685 Rev 1794
Línea 157... Línea 157...
157
     * @param string $order_direction
157
     * @param string $order_direction
158
     * @return Paginator
158
     * @return Paginator
159
     */
159
     */
160
    public function fetchAllDataTableByCompanyId($companyId, $search, $page = 1, $records_per_page = 10, $order_field= 'name', $order_direction = 'ASC')
160
    public function fetchAllDataTableByCompanyId($companyId, $search, $page = 1, $records_per_page = 10, $order_field= 'name', $order_direction = 'ASC')
161
    {
161
    {
162
        $prototype = new OrganizationalClimateForm();
162
        $prototype = new MyTrainerQuestions();
163
        $select = $this->sql->select(self::_TABLE);
163
        $select = $this->sql->select(self::_TABLE);
164
        $select->where->equalTo('company_id', $companyId);
164
        $select->where->equalTo('company_id', $companyId);
Línea 165... Línea 165...
165
        
165
        
166
        if($search) {
166
        if($search) {