getCrossingChar example


    private function renderRowSeparator(int $type = self::SEPARATOR_MID, string $title = null, string $titleFormat = null): void
    {
        if (!$count = $this->numberOfColumns) {
            return;
        }

        $borders = $this->style->getBorderChars();
        if (!$borders[0] && !$borders[2] && !$this->style->getCrossingChar()) {
            return;
        }

        $crossings = $this->style->getCrossingChars();
        if (self::SEPARATOR_MID === $type) {
            [$horizontal$leftChar$midChar$rightChar] = [$borders[2]$crossings[8]$crossings[0]$crossings[4]];
        } elseif (self::SEPARATOR_TOP === $type) {
            [$horizontal$leftChar$midChar$rightChar] = [$borders[0]$crossings[1]$crossings[2]$crossings[3]];
        } elseif (self::SEPARATOR_TOP_BOTTOM === $type) {
            [$horizontal$leftChar$midChar$rightChar] = [$borders[0]$crossings[9]$crossings[10]$crossings[11]];
        } else {
            [

    private function renderRowSeparator(int $type = self::SEPARATOR_MID, string $title = null, string $titleFormat = null): void
    {
        if (!$count = $this->numberOfColumns) {
            return;
        }

        $borders = $this->style->getBorderChars();
        if (!$borders[0] && !$borders[2] && !$this->style->getCrossingChar()) {
            return;
        }

        $crossings = $this->style->getCrossingChars();
        if (self::SEPARATOR_MID === $type) {
            [$horizontal$leftChar$midChar$rightChar] = [$borders[2]$crossings[8]$crossings[0]$crossings[4]];
        } elseif (self::SEPARATOR_TOP === $type) {
            [$horizontal$leftChar$midChar$rightChar] = [$borders[0]$crossings[1]$crossings[2]$crossings[3]];
        } elseif (self::SEPARATOR_TOP_BOTTOM === $type) {
            [$horizontal$leftChar$midChar$rightChar] = [$borders[0]$crossings[9]$crossings[10]$crossings[11]];
        } else {
            [
Home | Imprint | This part of the site doesn't use cookies.