public function getValue($asDateTimeObject = false)
 {
     if ($asDateTimeObject) {
         return new DateTimeObject(parent::getValue());
     }
     return $this->formatValue(parent::getValue());
 }
示例#2
0
 public function setValue($value = null)
 {
     if ($this->isNull($value)) {
         $value = new ArrayObject();
     }
     $value = $this->arr($value);
     return parent::setValue($value);
 }
示例#3
0
 public function getToArrayValue()
 {
     return StdObjectWrapper::toBool(parent::getToArrayValue());
 }