46 if (
$value !== self::TRANSPARENT &&
$value !== self::OPAQUE) {
47 throw new \InvalidArgumentException(
'The value must either be specified as "transparent" or "opaque"');
85 switch ($this->value) {
86 case self::TRANSPARENT :
121 if (in_array(
'transparent', $elems)) {
122 $value = self::TRANSPARENT;
getValue()
Returns the current value.
__construct($value)
Creates the property.
schedule-calendar-transp property.
enum(Reader $reader, $namespace=null)
The 'enum' deserializer parses elements into a simple list without values or attributes.
iCalendar/vCard/jCal/jCard/xCal/xCard reader object.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
This is the XML element interface.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
const NS_CALDAV
This is the official CalDAV namespace.
writeElement($name, $content=null)
Write a full element tag and it's contents.