Event::getCitType - jcobban/Genealogy GitHub Wiki

$event->getCitType()

Up: class Event

This method returns the Citation type constant required to create instances of Citation for the current Event.

        $ider	        = $event['ider'];
        $citType	= $event->getCitType();
        $citParms	= array('idime'			=> $ider,
                                'type'			=> $citType);
        $citations	= new CitationSet($citParms);

Next: $event->getCitations()