protected function setHtmlOptions($what, $value)
    {
        if (is_array($value) && count($value)) {
            $type = 'inner';
            switch ($what) {
                case 0:
                    $type = 'outer';
                    break;
                case 2:
                    $type = 'button';
                    break;
            }
            foreach ($value as $name => $set) {
                if ($name == 'class' || $name == 'style') {
                    continue;
                } else {
                    $this->{$type . 'Html'}[$name] = trim($set);
                }
            }
        }
    }