public function searchwordStatisticsAction()
    {
        // days to show
        $days = 30;
        $data = $this->getSearchwordStatistics($this->id, $days);

        if ($data['error']) {
            $error = $data['error'];
            unset($data['error']);
        }

        $this->view->assign('days', $days);
        $this->view->assign('data', $data);
        $this->view->assign('error', $error);
        $this->view->assign('languages', $this->getLanguages());
    }
public function searchwordStatisticsAction()
    {
        // days to show
        $days = 30;
        $data = $this->getSearchwordStatistics($this->id, $days);

        if ($data['error']) {
            $error = $data['error'];
            unset($data['error']);
        }

        $this->view->assign('days', $days);
        $this->view->assign('data', $data);
        $this->view->assign('error', $error);
        $this->view->assign('languages', $this->getLanguages());
    }
public function searchwordStatisticsAction ( ) { // days to show $ days = 30 ; $ data = $ this -> getSearchwordStatistics ( $ this -> id , $ days ) ; if ( $ data [ 'error' ] ) { $ error = $ data [ 'error' ] ; unset ( $ data [ 'error' ] ) ; } $ this -> view -> assign ( 'days' , $ days ) ; $ this -> view -> assign ( 'data' , $ data ) ; $ this -> view -> assign ( 'error' , $ error ) ; $ this -> view -> assign ( 'languages' , $ this -> getLanguages ( ) ) ; }
searchword statistics action
searchword statistics action