Lines Matching refs:pc
14 $pc = new PrincipalCollection($backend);
15 $this->assertTrue($pc instanceof PrincipalCollection);
17 $this->assertEquals('principals',$pc->getName());
27 $pc = new PrincipalCollection($backend);
29 $children = $pc->getChildren();
45 $pc = new PrincipalCollection($backend);
46 $pc->disableListing = true;
48 $children = $pc->getChildren();
55 $pc = new PrincipalCollection($backend);
56 … $this->assertEquals('principals/user1', $pc->findByUri('mailto:user1.sabredav@sabredav.org'));
57 $this->assertNull($pc->findByUri('mailto:fake.user.sabredav@sabredav.org'));
58 $this->assertNull($pc->findByUri(''));