function setBorder($border) {
        if ($border === self::CONSOLE_TABLE_BORDER_ASCII) {
            $intersection = '+';
            $horizontal = '-';
            $vertical = '|';
        } else {
            if (is_string($border)) {
                $intersection = $horizontal = $vertical = $border;
            } else {
                if ($border == '') {
                    $intersection = $horizontal = $vertical = '';
                } else {
                    extract($border);
                }
            }
        }

        $this->_border = array(
            'intersection' => $intersection,
            'horizontal' => $horizontal,
            'vertical' => $vertical,
        );
    }