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);
                }
            }
        }
    }
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);
                }
            }
        }
    }
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 ) ; } } } }
Sets HTML options for selected part.
@param integer $what number of part
@param array $value list of options
Sets HTML options for selected part .