Pgma_View.php 769 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Php-Gtk MySQL administrator - Main application view
  4. *
  5. * @license CeCILL 2.0
  6. * @copyright 2008 Ouest Systemes Informatiques
  7. * @author Frederic G. MARAND
  8. * @version $Id: Pgma_View.php,v 1.1 2008-05-23 09:42:27 cvs Exp $
  9. */
  10. /**
  11. * Main application view
  12. */
  13. class Pgma_View extends Glade_Window
  14. {
  15. /**
  16. * The application model (config file)
  17. * @see Pgma_Model
  18. * @var array
  19. */
  20. protected $model;
  21. /**
  22. * @var GtkFrame
  23. */
  24. public $activeDetailView;
  25. /**
  26. * Load the view fixed structure, then reload session info
  27. *
  28. * @return void
  29. */
  30. public function __construct()
  31. {
  32. parent::__construct('winPgma'); // not the standard top-level name
  33. $this->model = new Pgma_Model(); // load configuration info
  34. }
  35. }