added license and readme

This commit is contained in:
Christian Haschek
2015-10-27 16:26:57 +01:00
parent 2806fd54c6
commit 5d924b3a0c
30 changed files with 3849 additions and 3645 deletions

46
classes/model.php Normal file → Executable file
View File

@@ -1,23 +1,23 @@
<?php
/**
* Model class for all models
*
* @author Christian
*/
class Model// extends SQLQuery
{
protected $_model;
function __construct($id=0)
{
$this->_model = substr(get_class($this),0,-5);
$this->_table = strtolower($this->_model);
$this->_id = $id;
}
function __destruct()
{
}
}
<?php
/**
* Model class for all models
*
* @author Christian
*/
class Model// extends SQLQuery
{
protected $_model;
function __construct($id=0)
{
$this->_model = substr(get_class($this),0,-5);
$this->_table = strtolower($this->_model);
$this->_id = $id;
}
function __destruct()
{
}
}