예제 #1
0
파일: IOTest.php 프로젝트: Zunair/xataface
 function test_recordid2query()
 {
     $recordid = "Personal/Publications?FirstName=Steve&LastName=Hannah&" . urlencode('Publications::Title') . "=" . urlencode("Welcome to the world");
     $query = Dataface_IO::recordid2query($recordid);
     $this->assertEquals(array('-relationship' => 'Publications', '-table' => 'Personal', 'FirstName' => '=Steve', 'LastName' => '=Hannah', 'Publications::Title' => '=Welcome to the world'), $query);
 }