Overview

Namespaces

  • None
  • Yajra
    • Datatables
      • Contracts
      • Engines
      • Facades
      • Generators
      • Html
      • Processors
      • Services
      • Transformers

Classes

  • Yajra\Datatables\Datatables
  • Yajra\Datatables\DatatablesServiceProvider
  • Yajra\Datatables\Engines\BaseEngine
  • Yajra\Datatables\Engines\CollectionEngine
  • Yajra\Datatables\Engines\EloquentEngine
  • Yajra\Datatables\Engines\QueryBuilderEngine
  • Yajra\Datatables\Facades\Datatables
  • Yajra\Datatables\Generators\DataTablesMakeCommand
  • Yajra\Datatables\Generators\DataTablesScopeCommand
  • Yajra\Datatables\Helper
  • Yajra\Datatables\Html\Builder
  • Yajra\Datatables\Html\Column
  • Yajra\Datatables\Html\Parameters
  • Yajra\Datatables\Processors\DataProcessor
  • Yajra\Datatables\Processors\RowProcessor
  • Yajra\Datatables\Request
  • Yajra\Datatables\Services\DataTable
  • Yajra\Datatables\Transformers\DataTransformer

Interfaces

  • Yajra\Datatables\Contracts\DataTableButtonsContract
  • Yajra\Datatables\Contracts\DataTableContract
  • Yajra\Datatables\Contracts\DataTableEngineContract
  • Yajra\Datatables\Contracts\DataTableScopeContract

Functions

  • config_path
  • public_path
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace Yajra\Datatables\Generators;
 4: 
 5: use Illuminate\Console\GeneratorCommand;
 6: 
 7: /**
 8:  * Class DataTablesScopeCommand.
 9:  *
10:  * @package Yajra\Datatables\Generators
11:  * @author  Arjay Angeles <aqangeles@gmail.com>
12:  */
13: class DataTablesScopeCommand extends GeneratorCommand
14: {
15:     /**
16:      * The console command name.
17:      *
18:      * @var string
19:      */
20:     protected $name = 'datatables:scope';
21: 
22:     /**
23:      * The console command description.
24:      *
25:      * @var string
26:      */
27:     protected $description = 'Create a new DataTable Scope class.';
28: 
29:     /**
30:      * The type of class being generated.
31:      *
32:      * @var string
33:      */
34:     protected $type = 'DataTable Scope';
35: 
36:     /**
37:      * Get the default namespace for the class.
38:      *
39:      * @param  string $rootNamespace
40:      * @return string
41:      */
42:     protected function getDefaultNamespace($rootNamespace)
43:     {
44:         return $rootNamespace . '\DataTables\Scopes';
45:     }
46: 
47:     /**
48:      * Get the stub file for the generator.
49:      *
50:      * @return string
51:      */
52:     protected function getStub()
53:     {
54:         return __DIR__ . '/stubs/scopes.stub';
55:     }
56: }
57: 
API documentation generated by ApiGen