src/Export/Export.php 1 location
|
@@ 91-97 (lines=7) @@
|
88 |
|
'href' => $this->link |
89 |
|
]); |
90 |
|
|
91 |
|
if ($this->icon) { |
92 |
|
$a->add(Html::el('span')->class(DataGrid::$icon_prefix.$this->icon)); |
93 |
|
|
94 |
|
if (strlen($this->text)) { |
95 |
|
$a->add(' '); |
96 |
|
} |
97 |
|
} |
98 |
|
|
99 |
|
$a->add($this->text); |
100 |
|
|
src/Column/ItemDetail.php 1 location
|
@@ 88-94 (lines=7) @@
|
85 |
|
->data('toggle-detail', $row->getId()) |
86 |
|
->data('toggle-detail-grid', $this->grid->getName()); |
87 |
|
|
88 |
|
if ($this->icon) { |
89 |
|
$a->add(Html::el('span')->class(DataGrid::$icon_prefix.$this->icon)); |
90 |
|
|
91 |
|
if (strlen($this->text)) { |
92 |
|
$a->add(' '); |
93 |
|
} |
94 |
|
} |
95 |
|
|
96 |
|
$a->add($this->text); |
97 |
|
|
src/Column/Action.php 1 location
|
@@ 118-124 (lines=7) @@
|
115 |
|
$a = Html::el('a') |
116 |
|
->href($parent->link($this->href, $this->getItemParams($row))); |
117 |
|
|
118 |
|
if ($this->icon) { |
119 |
|
$a->add(Html::el('span')->class(DataGrid::$icon_prefix.$this->icon)); |
120 |
|
|
121 |
|
if (strlen($this->name)) { |
122 |
|
$a->add(' '); |
123 |
|
} |
124 |
|
} |
125 |
|
|
126 |
|
$a->add($this->name); |
127 |
|
|