samples/PhotoAlbum/lib/rb.php
protected function hasSharedList($type,$target) {
		$linkType = array($type,$target);
		sort($linkType);
		$linkType = implode('_',$linkType);
		return (in_array($linkType,$this->tables));
	}
protected function hasSharedList($type,$target) {
		$linkType = array($type,$target);
		sort($linkType);
		$linkType = implode('_',$linkType);
		return (in_array($linkType,$this->tables));
	}
protected function hasSharedList ( $ type , $ target ) { $ linkType = array ( $ type , $ target ) ; sort ( $ linkType ) ; $ linkType = implode ( '_' , $ linkType ) ; return ( in_array ( $ linkType , $ this -> tables ) ) ; }
Determines whether the bea has a shared list based on
schema inspection from realtime schema or cache.

@param string $type   bean type
@param string $target type of list you are looking for

@return boolean
Determines whether the bea has a shared list based on schema inspection from realtime schema or cache .