2012-06-13 13:49:10 -04:00
|
|
|
<?php
|
|
|
|
/**
|
2015-08-04 16:45:24 -04:00
|
|
|
* meta
|
2012-06-13 13:49:10 -04:00
|
|
|
*
|
2015-08-04 16:45:24 -04:00
|
|
|
* Hierarchial data tool
|
2012-06-13 13:49:10 -04:00
|
|
|
*
|
2015-08-04 16:45:24 -04:00
|
|
|
* @package meta
|
2012-06-13 13:49:10 -04:00
|
|
|
* @author Timothy J. Warren
|
2015-08-04 16:45:24 -04:00
|
|
|
* @copyright Copyright (c) 2012
|
|
|
|
* @link https://github.com/aviat4ion/meta
|
2012-06-14 16:33:16 -04:00
|
|
|
* @license http://philsturgeon.co.uk/code/dbad-license
|
2012-06-13 13:49:10 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
2015-08-04 16:45:24 -04:00
|
|
|
namespace Meta\Base;
|
2012-06-13 13:49:10 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base Model Class
|
|
|
|
*/
|
2012-06-14 16:33:16 -04:00
|
|
|
class Model extends \ArrayObject {
|
2012-06-13 13:49:10 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialize the model class
|
|
|
|
*
|
|
|
|
* @param array $args
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct(array $args = array())
|
|
|
|
{
|
2012-06-14 16:33:16 -04:00
|
|
|
parent::__construct($args, \ArrayObject::STD_PROP_LIST | \ArrayObject::ARRAY_AS_PROPS);
|
2012-06-13 13:49:10 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// End of model.php
|