private function createRow($key, $value)
    {
        $tr = new NodeElement();
        $tr->openTag('tr');

        $first = new NodeElement();
        $first->openTag('td')
              ->finalize()
              ->setText($key)
              ->closeTag();

        $second = new NodeElement();
        $second->openTag('td')
              ->finalize()
              ->setText($value)
              ->closeTag();

        $tr->appendChildren(array($first, $second));
        $tr->closeTag();

        return $tr;
    }
private function createRow($key, $value)
    {
        $tr = new NodeElement();
        $tr->openTag('tr');

        $first = new NodeElement();
        $first->openTag('td')
              ->finalize()
              ->setText($key)
              ->closeTag();

        $second = new NodeElement();
        $second->openTag('td')
              ->finalize()
              ->setText($value)
              ->closeTag();

        $tr->appendChildren(array($first, $second));
        $tr->closeTag();

        return $tr;
    }
private function createRow ( $ key , $ value ) { $ tr = new NodeElement ( ) ; $ tr -> openTag ( 'tr' ) ; $ first = new NodeElement ( ) ; $ first -> openTag ( 'td' ) -> finalize ( ) -> setText ( $ key ) -> closeTag ( ) ; $ second = new NodeElement ( ) ; $ second -> openTag ( 'td' ) -> finalize ( ) -> setText ( $ value ) -> closeTag ( ) ; $ tr -> appendChildren ( array ( $ first , $ second ) ) ; $ tr -> closeTag ( ) ; return $ tr ; }
Creates table row

@param string $key
@param string $value
@return Krystal\Form\NodeElement
Creates table row