AdminPageFramework_Parsedown::blockTableContinue PHP Метод

blockTableContinue() защищенный Метод

protected blockTableContinue ( $Line, array $Block )
$Block array
    protected function blockTableContinue($Line, array $Block)
    {
        if (isset($Block['interrupted'])) {
            return;
        }
        if ($Line['text'][0] === '|' or strpos($Line['text'], '|')) {
            $Elements = array();
            $row = $Line['text'];
            $row = trim($row);
            $row = trim($row, '|');
            preg_match_all('/(?:(\\\\[|])|[^|`]|`[^`]+`|`)+/', $row, $matches);
            foreach ($matches[0] as $index => $cell) {
                $cell = trim($cell);
                $Element = array('name' => 'td', 'handler' => 'line', 'text' => $cell);
                if (isset($Block['alignments'][$index])) {
                    $Element['attributes'] = array('style' => 'text-align: ' . $Block['alignments'][$index] . ';');
                }
                $Elements[] = $Element;
            }
            $Element = array('name' => 'tr', 'handler' => 'elements', 'text' => $Elements);
            $Block['element']['text'][1]['text'][] = $Element;
            return $Block;
        }
    }