Swat/SwatCellRendererSet.php
public function addRendererWithMappings(
        SwatCellRenderer $renderer,
        array $mappings = array()
    ) {
        $this->addRenderer($renderer);
        $this->addMappingsToRenderer($renderer, $mappings);
    }
public function addRendererWithMappings(
        SwatCellRenderer $renderer,
        array $mappings = array()
    ) {
        $this->addRenderer($renderer);
        $this->addMappingsToRenderer($renderer, $mappings);
    }
public function addRendererWithMappings ( SwatCellRenderer $ renderer , array $ mappings = array ( ) ) { $ this -> addRenderer ( $ renderer ) ; $ this -> addMappingsToRenderer ( $ renderer , $ mappings ) ; }
Adds a cell renderer to this set with a predefined set of
datafield-property mappings

@param SwatCellRenderer $renderer the renderer to add.
@param array $mappings an array of SwatCellRendererMapping objects.

@see SwatCellRendererSet::addRenderer()
@see SwatCellRendererSet::addMappingsToRenderer()
Adds a cell renderer to this set with a predefined set of datafield - property mappings