addTab() public method

Add tab sub form
public addTab ( mixed $tab ) : DocumentType
$tab mixed \Gc\Tab\Model|array
return DocumentType
コード例 #1
0
ファイル: DocumentTypeTest.php プロジェクト: gotcms/gotcms
 /**
  * Test
  *
  * @return void
  */
 public function testAddTabWithoutValidData()
 {
     $this->assertInstanceOf('GcDevelopment\\Form\\DocumentType', $this->object->addTab('string'));
 }