OpenSQLManager/sys/common/data_grid.php
2012-03-28 15:13:34 -04:00

43 lines
911 B
PHP

<?php
/**
* OpenSQLManager
*
* Free Database manager for Open Source Databases
*
* @author Timothy J. Warren
* @copyright Copyright (c) 2012
* @link https://github.com/aviat4ion/OpenSQLManager
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
/**
*Class to simplify dealing with GtkTreeView
*/
class Data_Grid extends GtkTreeView {
protected $model;
/**
* Create the object
*/
public function __construct()
{
$this->model = new GtkTreeStore(Gobject::TYPE_PHP_VALUE, Gobject::TYPE_PHP_VALUE);
parent::__construct($this->model);
}
// --------------------------------------------------------------------------
/**
* Get the value of the cell at the provided coordinate array
*
* @param array $coord
* @return mixed
*/
public function get(array $coord)
{
// @todo implement
}
}