Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7355 Rev 7356
Línea 567... Línea 567...
567
    public function timelineAction()
567
    public function timelineAction()
568
    {
568
    {
569
        $currentUserPlugin = $this->plugin('currentUserPlugin');
569
        $currentUserPlugin = $this->plugin('currentUserPlugin');
570
        $currentUser = $currentUserPlugin->getUser();
570
        $currentUser = $currentUserPlugin->getUser();
571
        $currentCompany = $currentUserPlugin->getCompany();
571
        $currentCompany = $currentUserPlugin->getCompany();
572
        
-
 
-
 
572
        $request = $this->getRequest();
573
        $type   = $this->params()->fromQuery('type');
573
        $type   = $this->params()->fromRoute('type');
574
        $response = [
574
        $response = [
575
            'success' => false,
575
            'success' => false,
576
            'data' => $type 
576
            'data' => $type 
577
        ];
577
        ];
578
        return new JsonModel($response);
578
        return new JsonModel($response);
579
        $request = $this->getRequest();
-
 
-
 
579
        
580
        if($request->isGet()) {
580
        if($request->isGet()) {
Línea 581... Línea 581...
581
            
581
            
Línea 582... Línea 582...
582
            $page = (int) $this->params()->fromQuery('page');
582
            $page = (int) $this->params()->fromQuery('page');