src/TableColumn/Generic.php
public function getTag($position, $value, $attr = [])
    {
        $attr = $this->getTagAttributes($position, $attr);

        if (isset($attr['class'])) {
            $attr['class'] = implode(' ', $attr['class']);
        }

        return $this->app->getTag($position == 'body' ? 'td' : 'th', $attr, $value);
    }
public function getTag($position, $value, $attr = [])
    {
        $attr = $this->getTagAttributes($position, $attr);

        if (isset($attr['class'])) {
            $attr['class'] = implode(' ', $attr['class']);
        }

        return $this->app->getTag($position == 'body' ? 'td' : 'th', $attr, $value);
    }
public function getTag ( $ position , $ value , $ attr = [ ] ) { $ attr = $ this -> getTagAttributes ( $ position , $ attr ) ; if ( isset ( $ attr [ 'class' ] ) ) { $ attr [ 'class' ] = implode ( ' ' , $ attr [ 'class' ] ) ; } return $ this -> app -> getTag ( $ position == 'body' ? 'td' : 'th' , $ attr , $ value ) ; }
Returns a suitable cell tag with the supplied value. Applies modifiers
added through addClass and setAttr.

@param string $position - 'head', 'body' or 'tail'
@param string $value    - what is inside? either html or array defining HTML structure, see App::getTag help
@param array  $attr     - extra attributes to apply on the tag

@return string
Returns a suitable cell tag with the supplied value . Applies modifiers added through addClass and setAttr .