/**
  * Setter and getter test
  */
 public function testSetterGetter()
 {
     $table = new Table();
     $this->assertContains('dataTable_', $table->getTableId());
     $table->setTableId('my_table_id');
     $this->assertContains('my_table_id', $table->getTableId());
 }
Beispiel #2
0
 /**
  * Initialize data source
  *
  * @param Table $table Table object
  *
  * @return void
  */
 public function initialize(Table $table)
 {
     $this->table = $table;
     $this->table->setTableId($this->tableId);
 }