PHP 클래스 atk4\data\tests\JoinArrayTest

상속: extends TestCase
파일 보기 프로젝트 열기: atk4/data

공개 메소드들

메소드 설명
testDirection ( )
testDirection2 ( )
testJoinDelete ( )
testJoinLoading ( ) * public function testJoinSaving4() { $a = ['user'=>[], 'contact'=>[]]; $db = new Persistence_Array($a); $m_u = new Model($db, 'user'); $m_u->addField('name'); $m_u->addField('code'); $j = $m_u->join('contact.code','code'); $j->addField('contact_phone');
testJoinSaving1 ( )
testJoinSaving2 ( )
testJoinSaving3 ( )
testJoinUpdate ( )
testLoadMissing ( )
testMultipleJoins ( )
testReverseJoin ( )
testTrickyCases ( )

메소드 상세

testDirection() 공개 메소드

public testDirection ( )

testDirection2() 공개 메소드

public testDirection2 ( )

testJoinDelete() 공개 메소드

public testJoinDelete ( )

testJoinLoading() 공개 메소드

$m_u['name']='John'; $m_u['code']='C28'; $m_u['contact_phone']='+123'; $m_u->save(); $this->assertEquals([ 'user'=>[1=>['id'=>1, 'code'=>'C28', 'name'=>'John']], 'contact'=>[1=>['id'=>1, 'code'=>'C28', 'contact_phone'=>'+123']] ], $a); }
public testJoinLoading ( )

testJoinSaving1() 공개 메소드

public testJoinSaving1 ( )

testJoinSaving2() 공개 메소드

public testJoinSaving2 ( )

testJoinSaving3() 공개 메소드

public testJoinSaving3 ( )

testJoinUpdate() 공개 메소드

public testJoinUpdate ( )

testLoadMissing() 공개 메소드

public testLoadMissing ( )

testMultipleJoins() 공개 메소드

public testMultipleJoins ( )

testReverseJoin() 공개 메소드

public testReverseJoin ( )

testTrickyCases() 공개 메소드

public testTrickyCases ( )