tag instead
[
[null],
'
'
],
[
[''],
' |
'
],
[
['test'],
'test |
'
],
[
[['one', 'two']],
'one | two |
'
],
// null columns are not rendered
[
[['one', null]],
'one |
'
],
[
[new CCol('test')],
'test |
'
],
[
[[new CCol('one'), new CCol('two')]],
'one | two |
'
],
[
['', 'myclass'],
' |
'
],
[
['', null, 'myid'],
' |
'
]
];
}
public function createTag($items = null, $class = null, $id = null) {
return (new CRow($items))
->addClass($class)
->setId($id);
}
}