Class Source

Description

Located in /includes/source_class.php (line 34)

GedcomRecord
   |
   --Source
Variable Summary
mixed $disp
mixed $famlist
mixed $indilist
mixed $name
mixed $sourcefacts
Method Summary
Source Source (string $gedrec)
boolean canDisplayDetails ()
array countSourceFams ()
array countSourceIndis ()
void diffMerge ( &$diff, Source $diff)
string getAddName ()
string getAuth ()
void &getInstance (string $pid, [ $simple = true])
void getLinkUrl ()
string getName ()
string getRepo ()
string getSortableName ([ $subtag = ""])
array getSourceFacts ()
array getSourceFams ()
array getSourceIndis ()
string getTitle ()
void parseFacts ()
Variables
mixed $disp = true (line 35)
mixed $famlist = null (line 39)
mixed $indilist = null (line 38)
mixed $name = "" (line 36)
mixed $sourcefacts = null (line 37)

Inherited Variables

Inherited from GedcomRecord

GedcomRecord::$changed
GedcomRecord::$gedrec
GedcomRecord::$rfn
GedcomRecord::$type
GedcomRecord::$xref
Methods
Constructor Source (line 45)

Constructor for source object

Source Source (string $gedrec)
  • string $gedrec: the raw source gedcom record
canDisplayDetails (line 92)

Check if privacy options allow this record to be displayed

boolean canDisplayDetails ()

Redefinition of:
GedcomRecord::canDisplayDetails()
can the details of this record be shown
countSourceFams (line 210)

get the count of families connected to this source

array countSourceFams ()
countSourceIndis (line 187)

get the count of individuals connected to this source

array countSourceIndis ()
countSourceObjects (line 233)

get the count of objects connected to this source

array countSourceObjects ()
diffMerge (line 147)

Merge the facts from another Source object into this object

for generating a diff view

void diffMerge ( &$diff, Source $diff)
  • Source $diff: the source to compare facts with
  • &$diff
getAddName (line 263)

get the source additional name

string getAddName ()
getAuth (line 282)

get the author of this source record

string getAuth ()
getInstance (line 57)

Static function used to get an instance of a source object

void &getInstance (string $pid, [ $simple = true])
  • string $pid: the ID of the source to retrieve
  • $simple

Redefinition of:
GedcomRecord::getInstance()
Static function used to get an instance of an object
getLinkUrl (line 291)

get the URL to link to this source

void getLinkUrl ()

Redefinition of:
GedcomRecord::getLinkUrl()
get the URL to link to this record
getName (line 241)

get the source name

string getName ()
getRepo (line 273)

get the repository of this source record

string getRepo ()
getSortableName (line 249)

get the source sortable name

string getSortableName ([ $subtag = ""])
  • $subtag

Redefinition of:
GedcomRecord::getSortableName()
get the sortable name
getSourceFacts (line 111)

get source facts array

array getSourceFacts ()
getSourceFams (line 218)

get the list of families connected to this source

array getSourceFams ()
getSourceIndis (line 195)

get the list of individuals connected to this source

array getSourceIndis ()
getTitle (line 100)

get the title of this source record

string getTitle ()
parseFacts (line 119)

Parse the facts from the source record

void parseFacts ()

Inherited Methods

Inherited From GedcomRecord

GedcomRecord::GedcomRecord()
GedcomRecord::canDisplayDetails()
GedcomRecord::equals()
GedcomRecord::getAbsoluteLinkUrl()
GedcomRecord::getChanged()
GedcomRecord::getDateUrl()
GedcomRecord::getGedcomRecord()
GedcomRecord::getInstance()
GedcomRecord::getLastchangeDate()
GedcomRecord::getLastchangeRecord()
GedcomRecord::getLastchangeUser()
GedcomRecord::getLinkTitle()
GedcomRecord::getLinkUrl()
GedcomRecord::getPlaceShort()
GedcomRecord::getPlaceUrl()
GedcomRecord::getSortableLastchangeDate()
GedcomRecord::getSortableName()
GedcomRecord::getType()
GedcomRecord::getXref()
GedcomRecord::isMarkedDeleted()
GedcomRecord::isRemote()
GedcomRecord::setChanged()
GedcomRecord::setGedcomRecord()
GedcomRecord::undoChange()

Documentation generated on Wed, 28 Mar 2007 09:54:36 -0600 by phpDocumentor 1.3.1