芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/cloud.pulsehost.co.uk/vendor/sabre/vobject/lib/Property/Boolean.php
setValue($val); } /** * Returns a raw mime-dir representation of the value. * * @return string */ public function getRawMimeDirValue() { return $this->value ? 'TRUE' : 'FALSE'; } /** * Returns the type of value. * * This corresponds to the VALUE= parameter. Every property also has a * 'default' valueType. * * @return string */ public function getValueType() { return 'BOOLEAN'; } /** * Hydrate data from a XML subtree, as it would appear in a xCard or xCal * object. */ public function setXmlValue(array $value) { $value = array_map( function ($value) { return 'true' === $value; }, $value ); parent::setXmlValue($value); } }