miniMVC/sys/core/Model.php

38 lines
736 B
PHP
Raw Permalink Normal View History

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
* @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
*/
class Model extends \ArrayObject {
2012-05-22 11:11:36 -04:00
/**
* Initialize the model class
*
* @param array $args
* @return void
*/
public function __construct(array $args = array())
2012-05-22 11:11: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