find() 공개 정적인 메소드

public static find ( $type, array $options = [] )
$options array
예제 #1
0
파일: ModelTest.php 프로젝트: rapzo/lithium
 public function testSimpleFindList()
 {
     $result = MockComment::find('list');
     $this->assertNotEmpty($result);
     $this->assertInternalType('array', $result);
 }
예제 #2
0
 public function testSimpleFindList()
 {
     $result = MockComment::find('list');
     $this->assertTrue(!empty($result));
     $this->assertTrue(is_array($result));
 }