Falcon_Converter::table_section PHP Метод

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

Parse a table section element
protected table_section ( DOMElement $element ) : array
$element DOMElement THEAD or TBODY element
Результат array Rows in the section
    protected function table_section($element)
    {
        $rows = array();
        foreach ($element->childNodes as $node) {
            if ($node instanceof DOMText) {
                continue;
            }
            if ($node->tagName !== 'tr') {
                continue;
            }
            $rows[] = $this->table_row($node);
        }
        return $rows;
    }