__construct (Constructor) [line 91]
void __construct(
[string
$version = '3.0'])
|
|
Constructor
Parameters:
addAddress [line 1243]
void addAddress(
mixed
$pob, mixed
$extend, mixed
$street, mixed
$locality, mixed
$region, mixed
$postcode, mixed
$country)
|
|
Sets the value of one entire ADR iteration. There can be zero, one, or more ADR components in a vCard.
Parameters:
addCategories [line 1493]
void addCategories(
mixed
$text, [
$append = true])
|
|
Sets the full value of the CATEGORIES component. There is only one component iteration allowed per vCard, but there may be multiple value repetitions in the iteration.
Parameters:
addEmail [line 1402]
void addEmail(
string
$text)
|
|
Sets the value of one EMAIL component iteration. There can be zero, one, or more component iterations in a vCard.
Parameters:
addLabel [line 1306]
void addLabel(
string
$text)
|
|
Sets the value of one LABEL component iteration. There can be zero, one, or more component iterations in a vCard.
Parameters:
addNickname [line 1452]
void addNickname(
mixed
$text)
|
|
Sets the full value of the NICKNAME component. There is only one component iteration allowed per vCard, but there may be multiple value repetitions in the iteration.
Parameters:
addOrganization [line 1541]
void addOrganization(
mixed
$text)
|
|
Sets the full value of the ORG component. There can be only one ORG component in a vCard.
The ORG component can have one or more parts (as opposed to repetitions of values within those parts). The first part is the highest-level organization, the second part is the next-highest, the third part is the third-highest, and so on. There can by any number of parts in one ORG iteration. (This is different from other components, such as NICKNAME, where an iteration has only one part but may have many repetitions within that part.)
Parameters:
addTelephone [line 1354]
void addTelephone(
string
$text)
|
|
Sets the value of one TEL component iteration. There can be zero, one, or more component iterations in a vCard.
Parameters:
fetch [line 1596]
Fetches a full vCard text block based on $this->value and
$this->param. The order of the returned components is similar to their order in RFC 2426. Honors the value of $this->value['VERSION'] to determine which vCard components are returned (2.1- or 3.0-compliant).
Overrides
File_IMC_Build::fetch() (Fetches a full vCard/vCal text block based on $this->value and $this->param.)
getAddress [line 1272]
mixed getAddress(
int
$iter)
|
|
Gets back the value of one ADR component iteration.
Parameters:
getAgent [line 1154]
Gets back the value of the AGENT component. There is only one allowed per vCard.
getBirthday [line 702]
Gets back the value of the BDAY component. There is only one allowed per vCard.
getCategories [line 1512]
Gets back the value of the CATEGORIES component. There is only one component allowed per vCard, but there may be multiple value repetitions in the iteration.
getClass [line 964]
Gets back the value of the CLASS component. There is only one allowed per vCard.
getEmail [line 1425]
mixed getEmail(
int
$iter)
|
|
Gets back the value of one iteration of the EMAIL component. There can be zero, one, or more component iterations in a vCard.
Parameters:
getFormattedName [line 419]
string getFormattedName(
)
|
|
Gets back the full FN component value. Only ever returns iteration zero, because only one FN component is allowed per vCard.
getGeo [line 1197]
Gets back the value of the GEO component. There is only one allowed per vCard.
getKey [line 664]
Gets back the value of the KEY component. There is only one allowed per vCard.
getLabel [line 1329]
mixed getLabel(
int
$iter)
|
|
Gets back the value of one iteration of the LABEL component.
There can be zero, one, or more component iterations in a vCard.
Parameters:
getLogo [line 587]
Gets back the value of the LOGO component. There is only one allowed per vCard.
getMailer [line 776]
Gets back the value of the MAILER component. There is only one allowed per vCard.
getName [line 333]
Gets back the full N component (first iteration only, since there can only be one N component per vCard).
getNickname [line 1471]
Gets back the value of the NICKNAME component. There is only one component allowed per vCard, but there may be multiple value repetitions in the iteration.
getNote [line 813]
Gets back the value of the NOTE component. There is only one allowed per vCard.
getOrganization [line 1565]
string getOrganization(
)
|
|
Gets back the value of the ORG component.
getPhoto [line 546]
Gets back the value of the PHOTO component. There is only one allowed per vCard.
getProductID [line 1040]
Gets back the value of the PRODID component. There is only one allowed per vCard.
getRevision [line 1080]
Gets back the value of the REV component. There is only one allowed per vCard.
getRole [line 888]
Gets back the value of the ROLE component. There is only one allowed per vCard.
getSortString [line 1002]
Gets back the value of the SORT-STRING component. There is only one allowed per vCard.
getSound [line 625]
Gets back the value of the SOUND component. There is only one allowed per vCard.
getSource [line 454]
Gets back the data-source of the the vCard. Only one iteration.
getSourceName [line 505]
Gets back the displayed data-source name of the the vCard. Only one iteration.
getTelephone [line 1377]
mixed getTelephone(
int
$iter)
|
|
Gets back the value of one iteration of the TEL component. There can be zero, one, or more component iterations in a vCard.
Parameters:
getTitle [line 850]
Gets back the value of the TITLE component. There is only one allowed per vCard.
getTZ [line 739]
Gets back the value of the TZ component. There is only one allowed per vCard.
getUniqueID [line 1117]
Gets back the value of the UID component. There is only one allowed per vCard.
getURL [line 927]
Gets back the value of the URL component. There is only one allowed per vCard.
setAgent [line 1136]
void setAgent(
string
$text)
|
|
Sets the value of the AGENT component. There is only one allowed per vCard.
Parameters:
setBirthday [line 684]
void setBirthday(
string
$text)
|
|
Sets the value of the BDAY component. There is only one allowed per vCard. Date format is "yyyy-mm-dd[Thh:ii[:ss[Z|-06:00]]]".
Parameters:
setClass [line 946]
void setClass(
string
$text)
|
|
Sets the value of the CLASS component. There is only one allowed per vCard.
Parameters:
setFormattedName [line 361]
mixed setFormattedName(
[string
$text = null])
|
|
Sets the FN component of the card. If no text is passed as the FN value, constructs an FN automatically from N components. There is only one FN iteration per vCard.
Parameters:
setGeo [line 1178]
void setGeo(
string
$lat, string
$lon)
|
|
Sets the value of both parts of the GEO component. There is only one GEO component allowed per vCard.
Parameters:
setKey [line 645]
void setKey(
string
$text)
|
|
Sets the value of the KEY component. There is only one allowed per vCard.
Parameters:
setLogo [line 568]
void setLogo(
string
$text)
|
|
Sets the value of the LOGO component. There is only one allowed per vCard.
Parameters:
setMailer [line 758]
void setMailer(
string
$text)
|
|
Sets the value of the MAILER component. There is only one allowed per vCard.
Parameters:
setName [line 311]
void setName(
mixed
$family, mixed
$given, mixed
$addl, mixed
$prefix, mixed
$suffix)
|
|
Sets the full N component of the vCard. Will replace all other values. There can only be one N component per vCard.
Parameters:
setNote [line 795]
void setNote(
string
$text)
|
|
Sets the value of the NOTE component. There is only one allowed per vCard.
Parameters:
setPhoto [line 527]
void setPhoto(
string
$text)
|
|
Sets the value of the PHOTO component. There is only one allowed per vCard.
Parameters:
setProductID [line 1022]
void setProductID(
string
$text)
|
|
Sets the value of the PRODID component. There is only one allowed per vCard.
Parameters:
setRevision [line 1062]
void setRevision(
string
$text)
|
|
Sets the value of the REV component. There is only one allowed per vCard.
Parameters:
setRole [line 870]
void setRole(
string
$text)
|
|
Sets the value of the ROLE component. There is only one allowed per vCard.
Parameters:
setSortString [line 984]
void setSortString(
string
$text)
|
|
Sets the value of the SORT-STRING component. There is only one allowed per vCard.
Parameters:
setSound [line 607]
void setSound(
string
$text)
|
|
Sets the value of the SOUND component. There is only one allowed per vCard.
Parameters:
setSource [line 437]
void setSource(
string
$text)
|
|
Sets the data-source of the the vCard. Only one iteration.
Parameters:
setSourceName [line 476]
mixed setSourceName(
[string
$text = null])
|
|
Sets the displayed name of the vCard data-source. Only one iteration.
If no name is specified, copies the value of SOURCE.
Parameters:
setTitle [line 832]
void setTitle(
string
$text)
|
|
Sets the value of the TITLE component. There is only one allowed per vCard.
Parameters:
setTZ [line 721]
void setTZ(
string
$text)
|
|
Sets the value of the TZ component. There is only one allowed per vCard.
Parameters:
setUniqueID [line 1099]
void setUniqueID(
string
$text)
|
|
Sets the value of the UID component. There is only one allowed per vCard.
Parameters:
setURL [line 909]
void setURL(
string
$text)
|
|
Sets the value of the URL component. There is only one allowed per vCard.
Parameters:
setVersion [line 109]
mixed setVersion(
[string
$text = '3.0'])
|
|
Sets the version of the the vCard. Only one iteration.
Overrides
File_IMC_Build::setVersion() (Sets the version of the specification to use. Only one iteration.)
Parameters:
validateParam [line 140]
mixed validateParam(
string
$name, string
$text, [string
$comp = null], [string
$iter = null])
|
|
Validates parameter names and values based on the vCard version (2.1 or 3.0).
Overrides
File_IMC_Build::validateParam() (Validates parameter names and values)
Parameters: