Blame |
Last modification |
View Log
| RSS feed
1
<?php
namespace PointedEars\PHPX\Db
;
/**
* @author
* Copyright (c) 2013 Thomas 'PointedEars' Lahn
*/
class MySQLTable
extends Table
{
/**
* Engine for this table.
*
* @var string
* @see Table::create()
*/
protected static
$_engine;
/**
* (non-PHPdoc)
* @see \PointedEars\PHPX\Db\Table::_createOptions()
*/
protected function _createOptions
()
{
$options = parent
::_createOptions
();
$class = \
get_class($this);
foreach (array('engine') as $option)
{
if ($class::$
{"_$option"})
{
$options[$option] = $class::$
{"_$option"};
}
}
return $options;
}
}