메소드 | 설명 | |
---|---|---|
chartByAge ( int[] $data, string $title ) : string | Print a chart by age using Google chart API | |
chartByDecade ( int[] $data, string $title ) : string | Print a chart by decade using Google chart API | |
eventsList ( integer $startjd, integer $endjd, string $events = 'BIRT MARR DEAT', boolean $only_living = false, string $sort_by = 'anniv' ) : string | Print a list of events | |
eventsTable ( integer $startjd, integer $endjd, string $events = 'BIRT MARR DEAT', boolean $only_living = false, string $sort_by = 'anniv' ) : string | Print a table of events | |
familyTable ( Fisharebest\Webtrees\Family[] $families ) : string | Print a table of families | |
individualTable ( Fisharebest\Webtrees\Individual[] $indiviudals, string $option = '' ) : string | Print a table of individuals | |
mediaTable ( Fisharebest\Webtrees\Media[] $media_objects ) : string | Print a table of media objects | |
noteTable ( Fisharebest\Webtrees\Note[] $notes ) : string | Print a table of shared notes | |
repositoryTable ( Fisharebest\Webtrees\Repository[] $repositories ) : string | Print a table of repositories | |
sourceTable ( Fisharebest\Webtrees\Source[] $sources ) : string | Print a table of sources | |
surnameList ( string[][] $surnames, integer $style, boolean $totals, string $script, Fisharebest\Webtrees\Tree $tree ) : string | Print a list of surnames. | |
surnameTable ( string[][] $surnames, string $script, Fisharebest\Webtrees\Tree $tree ) : string | Print a table of surnames, for the top surnames block, the indi/fam lists, etc. | |
surnameTagCloud ( string[][] $surnames, string $script, boolean $totals, Fisharebest\Webtrees\Tree $tree ) : string | Print a tagcloud of surnames. |
메소드 | 설명 | |
---|---|---|
sortableNames ( Fisharebest\Webtrees\Individual $individual ) : string[] | Generate a SURN,GIVN and GIVN,SURN sortable name for an individual. |
public static chartByAge ( int[] $data, string $title ) : string | ||
$data | int[] | |
$title | string | |
리턴 | string |
public static chartByDecade ( int[] $data, string $title ) : string | ||
$data | int[] | |
$title | string | |
리턴 | string |
public static familyTable ( Fisharebest\Webtrees\Family[] $families ) : string | ||
$families | Fisharebest\Webtrees\Family[] | |
리턴 | string |
public static individualTable ( Fisharebest\Webtrees\Individual[] $indiviudals, string $option = '' ) : string | ||
$indiviudals | Fisharebest\Webtrees\Individual[] | |
$option | string | |
리턴 | string |
public static mediaTable ( Fisharebest\Webtrees\Media[] $media_objects ) : string | ||
$media_objects | Fisharebest\Webtrees\Media[] | |
리턴 | string |
public static repositoryTable ( Fisharebest\Webtrees\Repository[] $repositories ) : string | ||
$repositories | Fisharebest\Webtrees\Repository[] | |
리턴 | string |
public static sourceTable ( Fisharebest\Webtrees\Source[] $sources ) : string | ||
$sources | Fisharebest\Webtrees\Source[] | |
리턴 | string |
public static surnameList ( string[][] $surnames, integer $style, boolean $totals, string $script, Fisharebest\Webtrees\Tree $tree ) : string | ||
$surnames | string[][] | array (of SURN, of array of SPFX_SURN, of array of PID) |
$style | integer | 1=bullet list, 2=semicolon-separated list, 3=tabulated list with up to 4 columns |
$totals | boolean | show totals after each name |
$script | string | indilist or famlist |
$tree | Fisharebest\Webtrees\Tree | Link back to the individual list in this tree |
리턴 | string |
public static surnameTable ( string[][] $surnames, string $script, Fisharebest\Webtrees\Tree $tree ) : string | ||
$surnames | string[][] | array (of SURN, of array of SPFX_SURN, of array of PID) |
$script | string | "indilist.php" (counts of individuals) or "famlist.php" (counts of spouses) |
$tree | Fisharebest\Webtrees\Tree | generate links for this tree |
리턴 | string |
public static surnameTagCloud ( string[][] $surnames, string $script, boolean $totals, Fisharebest\Webtrees\Tree $tree ) : string | ||
$surnames | string[][] | array (of SURN, of array of SPFX_SURN, of array of PID) |
$script | string | indilist or famlist |
$totals | boolean | show totals after each name |
$tree | Fisharebest\Webtrees\Tree | generate links to this tree |
리턴 | string |