original_string: protected function _setupPaths()
      {
          $paths = Configure::read('App.paths.templates');
  
          $extraPaths = Configure::read('CrudView.templatePaths');
          if (!empty($extraPaths)) {
              $paths = array_merge($paths, (array)$extraPaths);
          }
          $paths[] = Plugin::classPath('CrudView') . 'Template' . DS;
  
          Configure::write('App.paths.templates', $paths);
      }
code: protected function _setupPaths()
      {
          $paths = Configure::read('App.paths.templates');
  
          $extraPaths = Configure::read('CrudView.templatePaths');
          if (!empty($extraPaths)) {
              $paths = array_merge($paths, (array)$extraPaths);
          }
          $paths[] = Plugin::classPath('CrudView') . 'Template' . DS;
  
          Configure::write('App.paths.templates', $paths);
      }
code_tokens: protected function _setupPaths ( ) { $ paths = Configure :: read ( 'App.paths.templates' ) ; $ extraPaths = Configure :: read ( 'CrudView.templatePaths' ) ; if ( ! empty ( $ extraPaths ) ) { $ paths = array_merge ( $ paths , ( array ) $ extraPaths ) ; } $ paths [ ] = Plugin :: classPath ( 'CrudView' ) . 'Template' . DS ; Configure :: write ( 'App.paths.templates' , $ paths ) ; }
docstring: Initializes the crud-view template paths
  
  @return void
docstring_tokens: Initializes the crud - view template paths