PATH:
home
/
letacommog
/
crmleta
/
modules
/
Mobile
/
third-party
/
qCal
/
qCal
/
Property
<?php /** * Non-standard Property(s) * @package qCal * @copyright Luke Visinoni (luke.visinoni@gmail.com) * @author Luke Visinoni (luke.visinoni@gmail.com) * @license GNU Lesser General Public License * @todo I am not sure exactly how I plan on dealing with non-standard * properties, but for now, I'm representing them with this class * @todo Should this be a MultiValue? * @todo Should this allow multiple instances? * * RFC 2445 Definition * * Property Name: Any property name with a "X-" prefix * * Purpose: This class of property provides a framework for defining * non-standard properties. * * Value Type: TEXT * * Property Parameters: Non-standard and language property parameters * can be specified on this property. * * Conformance: This property can be specified in any calendar * component. * * Description: The MIME Calendaring and Scheduling Content Type * provides a "standard mechanism for doing non-standard things". This * extension support is provided for implementers to "push the envelope" * on the existing version of the memo. Extension properties are * specified by property and/or property parameter names that have the * prefix text of "X-" (the two character sequence: LATIN CAPITAL LETTER * X character followed by the HYPEN-MINUS character). It is recommended * that vendors concatenate onto this sentinel another short prefix text * to identify the vendor. This will facilitate readability of the * extensions and minimize possible collision of names between different * vendors. User agents that support this content type are expected to * be able to parse the extension properties and property parameters but * can ignore them. * * At present, there is no registration authority for names of extension * properties and property parameters. The data type for this property * is TEXT. Optionally, the data type can be any of the other valid data * types. * * Format Definition: The property is defined by the following notation: * * x-prop = x-name *(";" xparam) [";" languageparam] ":" text CRLF * ; Lines longer than 75 octets should be folded * * Example: The following might be the ABC vendor's extension for an * audio-clip form of subject property: * * X-ABC-MMSUBJ;X-ABC-MMSUBJTYPE=wave:http://load.noise.org/mysubj.wav */ class qCal_Property_NonStandard extends qCal_Property { protected $type = 'TEXT'; protected $allowedComponents = array('VEVENT','VTODO','VJOURNAL', 'VALARM','VTIMEZONE','VFREEBUSY','VCALENDAR'); protected $allowMultiple = true; public function __construct($value, $params, $name) { parent::__construct($value, $params); $this->name = strtoupper($name); } }
[+]
..
[-] LastModified.php
[edit]
[-] Trigger.php
[edit]
[-] Dtstart.php
[edit]
[-] Priority.php
[edit]
[-] RequestStatus.php
[edit]
[-] NonStandard.php
[edit]
[-] Resources.php
[edit]
[-] Duration.php
[edit]
[-] Description.php
[edit]
[-] Url.php
[edit]
[-] Due.php
[edit]
[-] Dtstamp.php
[edit]
[-] Method.php
[edit]
[-] Summary.php
[edit]
[-] Exrule.php
[edit]
[-] Repeat.php
[edit]
[-] Location.php
[edit]
[-] Class.php
[edit]
[-] Prodid.php
[edit]
[-] Transp.php
[edit]
[-] Attendee.php
[edit]
[-] Rrule.php
[edit]
[-] Comment.php
[edit]
[-] Tzurl.php
[edit]
[-] Freebusy.php
[edit]
[-] PercentComplete.php
[edit]
[-] Tzname.php
[edit]
[-] Version.php
[edit]
[-] Categories.php
[edit]
[-] Attach.php
[edit]
[-] Tzid.php
[edit]
[-] Uid.php
[edit]
[-] RelatedTo.php
[edit]
[-] Sequence.php
[edit]
[-] Created.php
[edit]
[-] Tzoffsetto.php
[edit]
[-] RecurrenceId.php
[edit]
[-] Organizer.php
[edit]
[-] Dtend.php
[edit]
[-] Calscale.php
[edit]
[-] Rdate.php
[edit]
[-] Action.php
[edit]
[-] MultiValue.php
[edit]
[-] Exdate.php
[edit]
[-] Contact.php
[edit]
[-] Completed.php
[edit]
[-] Status.php
[edit]
[-] Tzoffsetfrom.php
[edit]
[-] Geo.php
[edit]