PHP Class View_Columns, atk4
Use:
12-GS:
$cols=$this->add('Columns');
$cols->addColumn(4)->add('LoremIpsum');
$cols->addColumn(6)->add('LoremIpsum');
$cols->addColumn(2)->add('LoremIpsum');
Flexible
$cols=$this->add('Columns');
$cols->addColumn('10%')->add('LoremIpsum');
$cols->addColumn('90%')->add('LoremIpsum');
Auto
$cols=$this->add('Columns');
$cols->addColumn()->add('LoremIpsum');
$cols->addColumn()->add('LoremIpsum');
$cols->addClass('atk-cells-gutter-large')
显示文件
Open project: atk4/atk4
Public Properties
Property |
Type |
Description |
|
$mode |
|
|
|
Public Methods
Method Details
addColumn()
public method
Argument can be numeric for 12GS, percent for flexi design or omitted for equal columns.
defaultTemplate()
public method
setGutter()
public method
Property Details