protected function getIndexBodyCell($stub, Field $field)
    {
        $this->replaceFieldName($stub, $field->name)
            ->replaceModelName($stub, $this->modelName)
            ->replaceRowFieldValue($stub, $this->getFieldAccessorValue($field, 'index'))
            ->replaceFieldTitle($stub, $this->getTitle($field->getLabel(), true))
            ->replaceCommonTemplates($stub, $field);

        return $stub;
    }
protected function getIndexBodyCell($stub, Field $field)
    {
        $this->replaceFieldName($stub, $field->name)
            ->replaceModelName($stub, $this->modelName)
            ->replaceRowFieldValue($stub, $this->getFieldAccessorValue($field, 'index'))
            ->replaceFieldTitle($stub, $this->getTitle($field->getLabel(), true))
            ->replaceCommonTemplates($stub, $field);

        return $stub;
    }
protected function getIndexBodyCell ( $ stub , Field $ field ) { $ this -> replaceFieldName ( $ stub , $ field -> name ) -> replaceModelName ( $ stub , $ this -> modelName ) -> replaceRowFieldValue ( $ stub , $ this -> getFieldAccessorValue ( $ field , 'index' ) ) -> replaceFieldTitle ( $ stub , $ this -> getTitle ( $ field -> getLabel ( ) , true ) ) -> replaceCommonTemplates ( $ stub , $ field ) ; return $ stub ; }
Gets index body cell html code for the given field.

@param string $stub
@param CreatApps\Models\Field $field

@return string
Gets index body cell html code for the given field .