original_string: protected function setDataContentIndexDashboard()
      {
          $columns = $this->config('dashboard_columns', 2);
  
          $this->setData('columns', $columns);
          $this->setData('dashboard', gplcart_array_split($this->data_dashboard['data'], $columns));
  
          $stores = $this->store->getList(array('status' => 1));
          $this->setData('no_enabled_stores', empty($stores));
  
          if ($this->config('intro', false) && $this->isSuperadmin()) {
              $this->setData('intro', $this->render('dashboard/intro'));
          }
      }
code: protected function setDataContentIndexDashboard()
      {
          $columns = $this->config('dashboard_columns', 2);
  
          $this->setData('columns', $columns);
          $this->setData('dashboard', gplcart_array_split($this->data_dashboard['data'], $columns));
  
          $stores = $this->store->getList(array('status' => 1));
          $this->setData('no_enabled_stores', empty($stores));
  
          if ($this->config('intro', false) && $this->isSuperadmin()) {
              $this->setData('intro', $this->render('dashboard/intro'));
          }
      }
code_tokens: protected function setDataContentIndexDashboard ( ) { $ columns = $ this -> config ( 'dashboard_columns' , 2 ) ; $ this -> setData ( 'columns' , $ columns ) ; $ this -> setData ( 'dashboard' , gplcart_array_split ( $ this -> data_dashboard [ 'data' ] , $ columns ) ) ; $ stores = $ this -> store -> getList ( array ( 'status' => 1 ) ) ; $ this -> setData ( 'no_enabled_stores' , empty ( $ stores ) ) ; if ( $ this -> config ( 'intro' , false ) && $ this -> isSuperadmin ( ) ) { $ this -> setData ( 'intro' , $ this -> render ( 'dashboard/intro' ) ) ; } }
docstring: Sets a dashboard template data
docstring_tokens: Sets a dashboard template data