コード例 #1
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     $this->object = new IECfg();
     $this->object->myKeyColumn = 'test_id';
     $this->object->myTable = 'test';
     $this->object->myCreateColumn = 'DatCreate';
     $this->object->myLastModifiedColumn = 'DatSave';
     $this->object->nameColumn = 'name';
     $this->object->mySqlUp();
     $this->object->useKeywords = array('name' => 'STRING', 'bool' => 'BOOL', 'date' => 'DATE', 'datetime' => 'DATETIME', 'text' => 'TEXT', 'int' => 'INT', 'array' => 'VIRTUAL');
     $this->object->keywordsInfo = array('name' => array('title' => _('Jméno')));
 }