<?php
class Photo extends Zend_Db_Table
	
{
	protected $_name ="oophp_photo";
	protected $_primary = 'id';
	protected $_referenceMap=array(
		'albums'=>array(
			'columns'=>array('albumid'),
			'refTableClass'=>'Album',
			'refColumns'=>array('id')
		)
	);
}