2012-05-22 11:11:36 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* MiniMVC
|
|
|
|
*
|
|
|
|
* Convention-based micro-framework for PHP
|
|
|
|
*
|
|
|
|
* @package miniMVC
|
|
|
|
* @author Timothy J. Warren
|
|
|
|
* @copyright Copyright (c) 2011 - 2012
|
2012-05-23 12:01:13 -04:00
|
|
|
* @link https://github.com/aviat4ion/miniMVC
|
2012-07-03 13:33:36 -04:00
|
|
|
* @license http://philsturgeon.co.uk/code/dbad-license
|
2012-05-22 11:11:36 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace miniMVC;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Base Model Class
|
|
|
|
*
|
|
|
|
* @package miniMVC
|
|
|
|
* @subpackage System
|
|
|
|
*/
|
2012-07-03 13:33:36 -04:00
|
|
|
class Model extends \ArrayObject {
|
2012-05-22 11:11:36 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialize the model class
|
|
|
|
*
|
|
|
|
* @param array $args
|
|
|
|
* @return void
|
|
|
|
*/
|
2012-07-03 13:33:36 -04:00
|
|
|
public function __construct(array $args = array())
|
2012-05-22 11:11:36 -04:00
|
|
|
{
|
2012-07-03 13:33:36 -04:00
|
|
|
parent::__construct($args, \ArrayObject::STD_PROP_LIST | \ArrayObject::ARRAY_AS_PROPS);
|
2012-05-22 11:11:36 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// End of model.php
|