in file Parse.php, method File_IMC_Parse::_decode_qp() Looks at a line's parameters; if one of them is ENCODING[] => QUOTED-PRINTABLE then decode the text in-place.
_fromArray
in file Parse.php, method File_IMC_Parse::_fromArray() Parses an array of source lines and returns an array of vCards.
_getGroup
in file Parse.php, method File_IMC_Parse::_getGroup() Takes a line and extracts the Group for the line (a group is identified as a prefix-with-dot to the Type-Definition; e.g., Group.ADR or Group.ORG).
in file Parse.php, method File_IMC_Parse::_getTypeDef() Takes a line and extracts the Type-Definition for the line (not including the Group portion; e.g., in Group.ADR, only ADR is returned).
_parseADR
in file Vcard.php, method File_IMC_Parse_Vcard::_parseADR() Parses a vCard line value identified as being of the "ADR" (structured address) type-defintion.
_parseBlock
in file Parse.php, method File_IMC_Parse::_parseBlock() Goes through the IMC file, recursively processing BEGIN-END blocks
_parseCATEGORIES
in file Vcard.php, method File_IMC_Parse_Vcard::_parseCATEGORIES() Parses a vCard line value identified as being of the "CATEGORIES" (card-category) type-defintion.
_parseGEO
in file Vcard.php, method File_IMC_Parse_Vcard::_parseGEO() Parses a vCard line value identified as being of the "GEO" (geographic coordinate) type-defintion.
_parseN
in file Vcard.php, method File_IMC_Parse_Vcard::_parseN() Parses a vCard line value identified as being of the "N" (structured name) type-defintion.
_parseNICKNAME
in file Vcard.php, method File_IMC_Parse_Vcard::_parseNICKNAME() Parses a vCard line value identified as being of the "NICKNAME" (informal or descriptive name) type-defintion.
_parseORG
in file Vcard.php, method File_IMC_Parse_Vcard::_parseORG() Parses a vCard line value identified as being of the "ORG" (organizational info) type-defintion.
in file Parse.php, method File_IMC_Parse::_splitByDelim() Splits a string into an array. Honors backslash-escaped delimiters, (i.e., splits at ';' not '\;') and double-quotes (will not break inside double-quotes ("")).
in file Build.php, variable File_IMC_Build::$autoparam Tracks which component (N, ADR, TEL, etc) value was last set or added.
addAddress
in file Vcard.php, method File_IMC_Build_Vcard::addAddress() Sets the value of one entire ADR iteration. There can be zero, one, or more ADR components in a vCard.
addCategories
in file Vcard.php, method File_IMC_Build_Vcard::addCategories() 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.
addEmail
in file Vcard.php, method File_IMC_Build_Vcard::addEmail() Sets the value of one EMAIL component iteration. There can be zero, one, or more component iterations in a vCard.
addLabel
in file Vcard.php, method File_IMC_Build_Vcard::addLabel() Sets the value of one LABEL component iteration. There can be zero, one, or more component iterations in a vCard.
addNickname
in file Vcard.php, method File_IMC_Build_Vcard::addNickname() 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.
in file Build.php, method File_IMC_Build::addParam() Adds a parameter value for a given component and parameter name.
addTelephone
in file Vcard.php, method File_IMC_Build_Vcard::addTelephone() Sets the value of one TEL component iteration. There can be zero, one, or more component iterations in a vCard.
addValue
in file Build.php, method File_IMC_Build::addValue() Generic, all-purpose method to add a repetition of a string or array in $this->value, in a way suitable for later output as a vCard element. This appends the value to be the passed text or array value, leaving any prior values in place.
in file Build.php, method File_IMC_Build::escape() Prepares a string so it may be safely used as vCard values. DO NOT use this with binary encodings. Operates on text in-place; does not return a value. Recursively descends into arrays.
in file Vcard.php, class File_IMC_Parse_Vcard This class is a parser for vCards.
fromFile
in file Parse.php, method File_IMC_Parse::fromFile() Reads a file for parsing, then sends it to $this->fromText() and returns the results.
fromText
in file Parse.php, method File_IMC_Parse::fromText() Prepares a block of text for parsing, then sends it through and returns the results from $this->_fromArray().
in file Vcard.php, method File_IMC_Build_Vcard::getAgent() Gets back the value of the AGENT component. There is only one allowed per vCard.
getBirthday
in file Vcard.php, method File_IMC_Build_Vcard::getBirthday() Gets back the value of the BDAY component. There is only one allowed per vCard.
getCategories
in file Vcard.php, method File_IMC_Build_Vcard::getCategories() 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
in file Vcard.php, method File_IMC_Build_Vcard::getClass() Gets back the value of the CLASS component. There is only one allowed per vCard.
in file Vcard.php, method File_IMC_Build_Vcard::getEmail() Gets back the value of one iteration of the EMAIL component. There can be zero, one, or more component iterations in a vCard.
in file Vcard.php, method File_IMC_Build_Vcard::getFormattedName() Gets back the full FN component value. Only ever returns iteration zero, because only one FN component is allowed per vCard.
getGeo
in file Vcard.php, method File_IMC_Build_Vcard::getGeo() Gets back the value of the GEO component. There is only one allowed per vCard.
getKey
in file Vcard.php, method File_IMC_Build_Vcard::getKey() Gets back the value of the KEY component. There is only one allowed per vCard.
in file Vcard.php, method File_IMC_Build_Vcard::getLogo() Gets back the value of the LOGO component. There is only one allowed per vCard.
getMailer
in file Vcard.php, method File_IMC_Build_Vcard::getMailer() Gets back the value of the MAILER component. There is only one allowed per vCard.
getMeta
in file Build.php, method File_IMC_Build::getMeta() Gets the left-side/prefix/before-the-colon (metadata) part of a vCard line, including the component identifier, the parameter list, and a colon.
getName
in file Vcard.php, method File_IMC_Build_Vcard::getName() Gets back the full N component (first iteration only, since there can only be one N component per vCard).
getNickname
in file Vcard.php, method File_IMC_Build_Vcard::getNickname() 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
in file Vcard.php, method File_IMC_Build_Vcard::getNote() Gets back the value of the NOTE component. There is only one allowed per vCard.
in file Vcard.php, method File_IMC_Build_Vcard::getTelephone() Gets back the value of one iteration of the TEL component. There can be zero, one, or more component iterations in a vCard.
getTitle
in file Vcard.php, method File_IMC_Build_Vcard::getTitle() Gets back the value of the TITLE component. There is only one allowed per vCard.
getTZ
in file Vcard.php, method File_IMC_Build_Vcard::getTZ() Gets back the value of the TZ component. There is only one allowed per vCard.
getUniqueID
in file Vcard.php, method File_IMC_Build_Vcard::getUniqueID() Gets back the value of the UID component. There is only one allowed per vCard.
getURL
in file Vcard.php, method File_IMC_Build_Vcard::getURL() Gets back the value of the URL component. There is only one allowed per vCard.
getValue
in file Build.php, method File_IMC_Build::getValue() Generic, all-purpose method to get back the data stored in $this->value.
in file Vcard.php, method File_IMC_Build_Vcard::setAgent() Sets the value of the AGENT component. There is only one allowed per vCard.
setBirthday
in file Vcard.php, method File_IMC_Build_Vcard::setBirthday() 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]]]".
setClass
in file Vcard.php, method File_IMC_Build_Vcard::setClass() Sets the value of the CLASS component. There is only one allowed per vCard.
setFormattedName
in file Vcard.php, method File_IMC_Build_Vcard::setFormattedName() 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.
setFromArray
in file Build.php, method File_IMC_Build::setFromArray() Builds a vCard/vCal from a parser result array. Only send one vCard from the parse-results.
setGeo
in file Vcard.php, method File_IMC_Build_Vcard::setGeo() Sets the value of both parts of the GEO component. There is only one GEO component allowed per vCard.
setKey
in file Vcard.php, method File_IMC_Build_Vcard::setKey() Sets the value of the KEY component. There is only one allowed per vCard.
setLogo
in file Vcard.php, method File_IMC_Build_Vcard::setLogo() Sets the value of the LOGO component. There is only one allowed per vCard.
setMailer
in file Vcard.php, method File_IMC_Build_Vcard::setMailer() Sets the value of the MAILER component. There is only one allowed per vCard.
setName
in file Vcard.php, method File_IMC_Build_Vcard::setName() Sets the full N component of the vCard. Will replace all other values. There can only be one N component per vCard.
setNote
in file Vcard.php, method File_IMC_Build_Vcard::setNote() Sets the value of the NOTE component. There is only one allowed per vCard.
setPhoto
in file Vcard.php, method File_IMC_Build_Vcard::setPhoto() Sets the value of the PHOTO component. There is only one allowed per vCard.
in file Vcard.php, method File_IMC_Build_Vcard::setURL() Sets the value of the URL component. There is only one allowed per vCard.
setValue
in file Build.php, method File_IMC_Build::setValue() Generic, all-purpose method to store a string or array in $this->value, in a way suitable for later output as a vCard element. This forces the value to be the passed text or array value, overriding any prior values.