Beispiel #1
0
 public function onSetValue($value, DataSource_Hybrid_Document $doc)
 {
     if ($this->set_current === TRUE) {
         $this->default = date($this->_format);
     }
     return parent::onSetValue($value, $doc);
 }
Beispiel #2
0
 public function onSetValue($value, DataSource_Hybrid_Document $doc)
 {
     $value = parent::onSetValue($value, $doc);
     if ($this->remove_empty_tags === TRUE) {
         return Kses::remove_empty_tags($value);
     }
     return $value;
 }