TableController.php 681 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Holds the PhpMyAdmin\Controllers\TableController
  5. *
  6. * @package PhpMyAdmin\Controllers
  7. */
  8. namespace PhpMyAdmin\Controllers;
  9. /**
  10. * Handles table related logic
  11. *
  12. * @package PhpMyAdmin\Controllers
  13. */
  14. abstract class TableController extends Controller
  15. {
  16. /**
  17. * @var string $db
  18. */
  19. protected $db;
  20. /**
  21. * @var string $table
  22. */
  23. protected $table;
  24. /**
  25. * Constructor
  26. */
  27. public function __construct(
  28. $response,
  29. $dbi,
  30. $db,
  31. $table
  32. ) {
  33. parent::__construct($response, $dbi);
  34. $this->db = $db;
  35. $this->table = $table;
  36. }
  37. }