Record::isOwner - jcobban/Genealogy GitHub Wiki

$record->isOwner()

Up: class Record

This method returns true if the current user is authorized to see private information from the record or to update it, otherwise it returns false.

	$person	                = new Person(array('idir' => $idir));
	if (!$person->isOwner())
	    $msg	.= "User not authorized to update individual $idir. ";

Next: $record->addOwner()