Location: PHPKode > projects > OSShare > osshare-project-v1.0.1/app/models/albitem.php
<?php
/*
OsShare v1 , 
Coded By Paimpozhil B. , SaravanaKumar M.S.
*/
class Albitem extends AppModel {

	var $name = 'Albitem';
	var $validate = array(
		'id' => VALID_NUMBER,
		'alb_id' => VALID_NUMBER,
		'picture_id' => VALID_NUMBER,
		'precedence' => VALID_NUMBER,
	
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	
		
	var $belongsTo = array(
		
			'Alb' => array('className' => 'Alb',
								'foreignKey' => 'Alb_id',
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'counterCache' => ''),
			'Picture' => array('className' => 'Picture',
								'foreignKey' => 'picture_id',
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'counterCache' => ''),
	);
}
?>
Return current item: OSShare