micro/widget/GridViewWidget.php 1 location
|
@@ 125-127 (lines=3) @@
|
122 |
|
$args['data'] = array_slice($args['data'], $this->page * $this->limit, $this->limit); |
123 |
|
} |
124 |
|
|
125 |
|
foreach ($args['data'] AS $model) { |
126 |
|
$this->rows[] = is_subclass_of($model, 'Micro\Mvc\Models\Model') ? $model : (object)$model; |
127 |
|
} |
128 |
|
} |
129 |
|
|
130 |
|
/** |
micro/widget/ListViewWidget.php 1 location
|
@@ 114-116 (lines=3) @@
|
111 |
|
$args['data'] = array_slice($args['data'], $this->page * $this->limit, $this->limit); |
112 |
|
} |
113 |
|
|
114 |
|
foreach ($args['data'] AS $model) { |
115 |
|
$this->rows[] = is_subclass_of($model, 'Micro\\Mvc\\Models\\IModel') ? $model : (object)$model; |
116 |
|
} |
117 |
|
} |
118 |
|
|
119 |
|
/** |