src/View/Helper/MelisGenericTable.php
public function setColumns($columnText, $css = null, $class = null)
    {
        
        $ctr = 0;
        $text = '';
        $colCss = array();
        $dataClass = '';
        $thClass = '';

        foreach($columnText as $values)
        {
            $text .= '<th '.$dataClass.' class="'.$class.'">' . $values . '</th>';
            $ctr++;
        }

        
        $this->_columns .=  $text;
    }
public function setColumns($columnText, $css = null, $class = null)
    {
        
        $ctr = 0;
        $text = '';
        $colCss = array();
        $dataClass = '';
        $thClass = '';

        foreach($columnText as $values)
        {
            $text .= '<th '.$dataClass.' class="'.$class.'">' . $values . '</th>';
            $ctr++;
        }

        
        $this->_columns .=  $text;
    }
public function setColumns ( $ columnText , $ css = null , $ class = null ) { $ ctr = 0 ; $ text = '' ; $ colCss = array ( ) ; $ dataClass = '' ; $ thClass = '' ; foreach ( $ columnText as $ values ) { $ text .= '<th ' . $ dataClass . ' class="' . $ class . '">' . $ values . '</th>' ; $ ctr ++ ; } $ this -> _columns .= $ text ; }
Creates a configuration table column.
@param Array $columnText
@param Array $css
@param String $class
Creates a configuration table column .