Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1 Rev 7135
Línea 144... Línea 144...
144
                    
144
                    
145
                }
145
                }
Línea 146... Línea 146...
146
            }
146
            }
147
            
147
            
148
            if($isJson) {
148
            if($isJson) {
Línea 149... Línea 149...
149
                $search = $this->params()->fromQuery('search', []);
149
                $search = $this->params()->fromQuery('search');
150
                $search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
150
                $search = empty($search) ? '' : filter_var($search, FILTER_SANITIZE_STRING);
151
                
151
                
152
                $page               = intval($this->params()->fromQuery('start', 1), 10);
152
                $page               = intval($this->params()->fromQuery('start', 1), 10);
Línea 829... Línea 829...
829
        $request = $this->getRequest();
829
        $request = $this->getRequest();
830
        if($request->isGet()) {
830
        if($request->isGet()) {
831
            $data = [
831
            $data = [
832
                'success' => true,
832
                'success' => true,
833
                'data' => [
833
                'data' => [
834
                    'description' => $job->description,
834
                    'description' => strip_tags($job->description),
835
                ]
835
                ]
836
            ];
836
            ];
Línea 837... Línea 837...
837
            
837
            
Línea 857... Línea 857...
857
                $this->logger->info('Se actualizo las descripción del empleo ' . $job->title, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
857
                $this->logger->info('Se actualizo las descripción del empleo ' . $job->title, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
Línea 858... Línea 858...
858
                
858
                
859
                return new JsonModel([
859
                return new JsonModel([
860
                    'success'   => true,
860
                    'success'   => true,
861
                    'data' => [
861
                    'data' => [
862
                        'description' => $job->description,
862
                        'description' => strip_tags($job->description),
863
                    ]
863
                    ]
Línea 864... Línea 864...
864
                ]);
864
                ]);
865
                
865