Twig/CharacteristicsExtension.php
public function renderCharacteristics(CharacteristicsInterface $characteristics, array $options = array())
    {
        $options = array_merge(array(
            'table_class' => 'table table-striped table-bordered table-condensed ekyna-characteristics',
            'highlight_inherited' => false,
            'display_group' => null,
        ), $options);

        return $this->template->render(array(
            'view' => $this->manager->createView($characteristics, $options['display_group']),
            'options' => $options,
        ));
    }
public function renderCharacteristics(CharacteristicsInterface $characteristics, array $options = array())
    {
        $options = array_merge(array(
            'table_class' => 'table table-striped table-bordered table-condensed ekyna-characteristics',
            'highlight_inherited' => false,
            'display_group' => null,
        ), $options);

        return $this->template->render(array(
            'view' => $this->manager->createView($characteristics, $options['display_group']),
            'options' => $options,
        ));
    }
public function renderCharacteristics ( CharacteristicsInterface $ characteristics , array $ options = array ( ) ) { $ options = array_merge ( array ( 'table_class' => 'table table-striped table-bordered table-condensed ekyna-characteristics' , 'highlight_inherited' => false , 'display_group' => null , ) , $ options ) ; return $ this -> template -> render ( array ( 'view' => $ this -> manager -> createView ( $ characteristics , $ options [ 'display_group' ] ) , 'options' => $ options , ) ) ; }
Renders a characteristics view table.

@param CharacteristicsInterface $characteristics
@param array $options

@return string
Renders a characteristics view table .