Пример #1
0
 function getInputAttDynamic(&$atts, &$type, &$content)
 {
     parent::getInputAttDynamic($atts, $type, $content);
     $atts['value'] = "ON";
     if ($this->getValue()) {
         $atts['checked'] = "checked";
     }
 }
Пример #2
0
 function getInputAttDynamic(&$atts, &$type, &$content)
 {
     parent::getInputAttDynamic($atts, $type, $content);
     unset($atts['value']);
     $type = "textarea";
     unset($atts['type']);
     $content = array(htmlspecialchars($this->getValue()));
 }
Пример #3
0
 function getInputAttStatic(&$atts, &$type, &$content)
 {
     parent::getInputAttStatic($atts, $type, $content);
     $atts['type'] = "submit";
 }