gyro/modules/simpletest/model/base/dbtable.mock.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * A mock for a DBTable 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Simpletest 00007 */ 00008 class MockIDBTable extends DBTable { 00009 public function __construct($name = 'table', $alias = 'alias') { 00010 parent::__construct($name, array(new DBField('column')), array(), array(), array(), new DBDriverMySqlMock()); 00011 $this->alias = $alias; 00012 } 00013 }