Class Repository

Description

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

GedcomRecord
   |
   --Repository
Variable Summary
mixed $disp
mixed $name
mixed $sourcelist
Method Summary
Repository Repository (string $gedrec)
boolean canDisplayDetails ()
void diffMerge ( &$diff, Repository $diff)
string getAddName ()
void &getInstance (string $pid, [ $simple = true])
void getLinkUrl ()
string getName ()
string getSortableName ([ $subtag = ""])
void parseFacts ()
Variables
mixed $disp = true (line 35)
mixed $name = "" (line 36)
mixed $sourcelist = null (line 37)

Inherited Variables

Inherited from GedcomRecord

GedcomRecord::$changed
GedcomRecord::$gedrec
GedcomRecord::$rfn
GedcomRecord::$type
GedcomRecord::$xref
Methods
Constructor Repository (line 43)

Constructor for repository object

Repository Repository (string $gedrec)
  • string $gedrec: the raw repository gedcom record
canDisplayDetails (line 90)

Check if privacy options allow this record to be displayed

boolean canDisplayDetails ()

Redefinition of:
GedcomRecord::canDisplayDetails()
can the details of this record be shown
diffMerge (line 166)

Merge the facts from another Repository object into this object

for generating a diff view

void diffMerge ( &$diff, Repository $diff)
  • Repository $diff: the repository to compare facts with
  • &$diff
getAddName (line 120)

get the repository additional name

string getAddName ()
getInstance (line 55)

Static function used to get an instance of a repository object

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

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

get the URL to link to this repository

void getLinkUrl ()

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

get the repository name

string getName ()
getRepositoryFacts (line 130)

get repository facts array

array getRepositoryFacts ()
getRepositorySours (line 206)

get the list of sources connected to this repository

array getRepositorySours ()
getSortableName (line 106)

get the repository sortable name

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

Redefinition of:
GedcomRecord::getSortableName()
get the sortable name
parseFacts (line 138)

Parse the facts from the repository 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:35 -0600 by phpDocumentor 1.3.1