constructor XML_FOAF_Parser [line 104]
XML_FOAF_Parser XML_FOAF_Parser(
)
|
|
XML_FOAF_Parser PHP4 Compatible Constructor
method parseFromFile [line 131]
void parseFromFile(
$file
$file, [$use_include_path
$use_include_path = false])
|
|
Parse a FOAF in the specified File
Tags:
Parameters:
method parseFromMem [line 145]
void parseFromMem(
$mem
$mem)
|
|
Parse a FOAF contained in the specified variable
Tags:
Parameters:
method parseFromURI [line 117]
void parseFromURI(
$uri
$uri)
|
|
Parse a FOAF at the specified URI
Tags:
Parameters:
method toArray [line 922]
Return parsed FOAF data as an Array
Tags:
method toHTML [line 935]
string toHTML(
mixed
&$foaf_data)
|
|
Return parsed FOAF data pretty HTML
Tags:
method toObject [line 906]
Return parsed FOAF data as an Object
Tags:
method _fetchAgent [line 219]
Parses our the foaf:Agents
Looks for all foaf:Agents (foaf:Person,foaf:Group,foaf:Organzation and foaf:Agent) and decides which are the primary agents (who/what the FOAF is about) and which are only known by the primary agents
Tags:
method _fetchAimChatID [line 436]
Finds all foaf:aimChatID's and inserts them into the result Array
Tags:
method _fetchCurrentProject [line 708]
void _fetchCurrentProject(
)
|
|
Finds all foaf:currentProject's and inserts them into the result Array
Tags:
method _fetchDcDescription [line 807]
void _fetchDcDescription(
)
|
|
Finds all dc:description's and inserts them into the result Array
These are inserted at $result['dc']['description'][$uri] where $uri is the URI they are for. You will need to check this for titles and descriptions upon output for any element you want them for.
Tags:
method _fetchDcTitle [line 789]
Finds all dc:title's and inserts them into the result Array
These are inserted at $result['dc']['title'][$uri] where $uri is the URI they are for. You will need to check this for titles and descriptions upon output for any element you want them for.
Tags:
method _fetchDepiction [line 288]
Finds all foaf:depiction's and inserts them into the result Array
Tags:
method _fetchFundedBy [line 297]
Finds all foaf:fundedBy's and inserts them into the result Array
Tags:
method _fetchHoldsAccount [line 472]
void _fetchHoldsAccount(
)
|
|
Finds all foaf:onlineAccount's and inserts them into the result Array
Tags:
method _fetchHomepage [line 565]
Finds all foaf:homepage's and inserts them into the result Array
Tags:
method _fetchIcqChatID [line 445]
Finds all foaf:icqChatID's and inserts them into the result Array
Tags:
method _fetchImg [line 654]
Finds all foaf:img's and inserts them into the result Array
Tags:
method _fetchInterest [line 737]
Finds all foaf:interest's and inserts them into the result Array
Tags:
method _fetchJabberID [line 427]
Finds all foaf:jabberID's and inserts them into the result Array
Tags:
method _fetchLogo [line 306]
Finds all foaf:logo's and inserts them into the result Array
Tags:
method _fetchMade [line 583]
Finds all foaf:made's and inserts them into the result Array
Tags:
method _fetchMbox [line 397]
Finds all foaf:mbox's and inserts them into the result Array
Tags:
method _fetchMboxSha1Sum [line 406]
void _fetchMboxSha1Sum(
)
|
|
Finds all foaf:mbox_sha1sum's and inserts them into the result Array
Tags:
method _fetchMember [line 750]
Finds all foaf:member's and inserts them into the result Array
Tags:
method _fetchMsnChatID [line 463]
Finds all foaf:msnChatID's and inserts them into the result Array
Tags:
method _fetchMyersBriggs [line 663]
void _fetchMyersBriggs(
)
|
|
Finds all foaf:myersBriggs's and inserts them into the result Array
Tags:
method _fetchNick [line 345]
Finds all foaf:nick's and inserts them into the result Array
Tags:
method _fetchPage [line 315]
Finds all foaf:page's and inserts them into the result Array
Tags:
method _fetchPastProject [line 717]
void _fetchPastProject(
)
|
|
Finds all foaf:pastProject's and inserts them into the result Array
Tags:
method _fetchPhone [line 388]
Finds all foaf:phone's and inserts them into the result Array
Tags:
method _fetchProperty [line 828]
void _fetchProperty(
$xmlns
$xmlns, $property
$property, $obj_value
$obj_value)
|
|
Fetch a FOAF Property with multiple values
Tags:
Parameters:
method _fetchPublication [line 699]
void _fetchPublication(
)
|
|
Finds all foaf:publication's and inserts them into the result Array
Tags:
method _fetchSchoolHomepage [line 690]
void _fetchSchoolHomepage(
)
|
|
Finds all foaf:schoolHomepage's and inserts them into the result Array
Tags:
method _fetchSeeAlso [line 776]
Finds all rdf:seeAlso's and inserts them into the result Array
Tags:
method _fetchTheme [line 324]
Finds all foaf:theme's and inserts them into the result Array
Tags:
method _fetchWeblog [line 574]
Finds all foaf:weblog's and inserts them into the result Array
Tags:
method _fetchWorkInfoHomepage [line 681]
void _fetchWorkInfoHomepage(
)
|
|
Finds all foaf:workInfoHomepage's and inserts them into the result Array
Tags:
method _fetchWorkplaceHomepage [line 672]
void _fetchWorkplaceHomepage(
)
|
|
Finds all foaf:workplaceHompage's and inserts them into the result Array
Tags:
method _fetchYahooChatID [line 454]
void _fetchYahooChatID(
)
|
|
Finds all foaf:yahooChatID's and inserts them into the result Array
Tags:
method _getBasedNear [line 726]
Finds all foaf:basedNear's and inserts them into the result Array
Tags:
method _getFamilyName [line 633]
Finds all foaf:familyName's and inserts them into the result Array
If more than one foaf:familyName is found for a single foaf:Agent, the last found will be inserted into the result Array
Tags:
method _getFirstName [line 609]
Finds all foaf:firstName's and inserts them into the result Array
If more than one foaf:firstName is found for a single foaf:Agent, the last found will be inserted into the result Array
Tags:
method _getGeekcode [line 597]
Finds all foaf:geekcode's and inserts them into the result Array
If more than one foaf:geekcode is found for a single foaf:Agent, the last found will be inserted into the result Array
Tags:
method _getGender [line 418]
Finds all foaf:gender's and inserts them into the result Array
If more than one foaf:gender is found for a single foaf:Agent, the last found is inserted into the result Array.
Tags:
method _getGivenName [line 379]
Finds all foaf:givenName's and inserts them into the result Array
If more than one foaf:givenName is found for a single foaf:Agent, the last one found is inserted into the result array
Tags:
method _getMembershipClass [line 765]
void _getMembershipClass(
)
|
|
Finds all foaf:membershipClass's and inserts them into the result Array
If more than one foaf:plan is found for a single foaf:Agent, the last found will be inserted into the result Array
Tags:
method _getName [line 279]
Finds the foaf:name's and inserts them into the result array
If more than one foaf:name is found for a single foaf:Agent, the last found will be the one shown in the result
Tags:
method _getPlan [line 645]
Finds all foaf:plan's and inserts them into the result Array
If more than one foaf:plan is found for a single foaf:Agent, the last found will be inserted into the result Array
Tags:
method _getProperty [line 868]
void _getProperty(
$xmlns
$xmlns, $property
$property, $obj_value
$obj_value)
|
|
Fetch a FOAF Property with a single value
Tags:
Parameters:
method _getSurname [line 621]
Finds all foaf:surname's and inserts them into the result Array
If more than one foaf:surname is found for a single foaf:Agent, the last found will be inserted into the result Array
Tags:
method _getTitle [line 336]
Finds all the foaf:title and inserts them into the result Array
If more than one foaf:title is found for one foaf:Agent the last one found is insert into the result
Tags:
method _parse [line 160]
Calls all the seperate property parsers
Tags:
method __construct [line 95]
XML_FOAF_Parser Constructor
Tags: