[debug]
This commit is contained in:
parent
45c4206686
commit
4c30e3be34
@ -42,6 +42,8 @@ abstract class Model
|
|||||||
$array = [];
|
$array = [];
|
||||||
|
|
||||||
foreach (static::getFields() as $key) {
|
foreach (static::getFields() as $key) {
|
||||||
|
var_dump($key);
|
||||||
|
|
||||||
$method = 'get' . str_replace('_', '', ucwords($key, '_'));
|
$method = 'get' . str_replace('_', '', ucwords($key, '_'));
|
||||||
|
|
||||||
if (method_exists($this, $method)) {
|
if (method_exists($this, $method)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user