__toString() 공개 메소드

Render tab
public __toString ( ) : string
리턴 string
예제 #1
0
파일: TabsTest.php 프로젝트: gotcms/gotcms
 /**
  * Test
  *
  * @return void
  */
 public function testSetData()
 {
     $this->object->setData(array('string'));
     $this->assertEquals('<ul><li><a href="#tabs-1">string</a></li></ul>', $this->object->__toString());
 }