summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap/domain/AccountCollection.php
blob: b14ece5e88f0f8c01ec28af8d7a9e1032fb1dc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

class AccountCollection extends TList
{
	public function addRange($accounts)
	{
		foreach($accounts as $account)
			$this->add($account);
	}

	public function copyTo(TList $array)
	{
		$array->copyFrom($this);
	}
}

?>