function getInputAttDynamic(&$atts, &$type, &$content) { parent::getInputAttDynamic($atts, $type, $content); $atts['value'] = "ON"; if ($this->getValue()) { $atts['checked'] = "checked"; } }
function getInputAttDynamic(&$atts, &$type, &$content) { parent::getInputAttDynamic($atts, $type, $content); unset($atts['value']); $type = "textarea"; unset($atts['type']); $content = array(htmlspecialchars($this->getValue())); }
function getInputAttStatic(&$atts, &$type, &$content) { parent::getInputAttStatic($atts, $type, $content); $atts['type'] = "submit"; }