mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 10:46:22 +00:00
24 lines
361 B
PHP
24 lines
361 B
PHP
<?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()
|
|
{
|
|
|
|
}
|
|
}
|