src/Attribute/Base.php
protected function prepareTemplate(Template $objTemplate, $arrRowData, $objSettings)
    {
        $objTemplate->setData(array(
            'attribute'        => $this,
            'settings'         => $objSettings,
            'row'              => $arrRowData,
            'raw'              => $arrRowData[$this->getColName()],
            'additional_class' => $objSettings->get('additional_class')
                ? ' ' . $objSettings->get('additional_class')
                : ''
        ));
    }
protected function prepareTemplate(Template $objTemplate, $arrRowData, $objSettings)
    {
        $objTemplate->setData(array(
            'attribute'        => $this,
            'settings'         => $objSettings,
            'row'              => $arrRowData,
            'raw'              => $arrRowData[$this->getColName()],
            'additional_class' => $objSettings->get('additional_class')
                ? ' ' . $objSettings->get('additional_class')
                : ''
        ));
    }
protected function prepareTemplate ( Template $ objTemplate , $ arrRowData , $ objSettings ) { $ objTemplate -> setData ( array ( 'attribute' => $ this , 'settings' => $ objSettings , 'row' => $ arrRowData , 'raw' => $ arrRowData [ $ this -> getColName ( ) ] , 'additional_class' => $ objSettings -> get ( 'additional_class' ) ? ' ' . $ objSettings -> get ( 'additional_class' ) : '' ) ) ; }
When rendered via a template, this populates the template with values.

@param Template $objTemplate The Template instance to populate.

@param array    $arrRowData  The row data for the current item.

@param ISimpleRenderSetting  $objSettings The render settings to use for this attribute.

@return void
When rendered via a template this populates the template with values .