src/Ffcms/Core/Helper/HTML/Form/Constructor.php 1 location
|
@@ 100-102 (lines=3) @@
|
97 |
|
} |
98 |
|
|
99 |
|
// if field is unknown type add notification in debugbar |
100 |
|
if (App::$Debug !== null) { |
101 |
|
App::$Debug->addMessage('Field with name [' . App::$Security->strip_tags($name) . '] have unknown type [' . $this->type . ']', 'error'); |
102 |
|
} |
103 |
|
return 'No data: ' . App::$Security->strip_tags($name); |
104 |
|
} |
105 |
|
|
src/Ffcms/Core/Helper/HTML/Form.php 1 location
|
@@ 117-119 (lines=3) @@
|
114 |
|
|
115 |
|
// check if model contains current tag name as property |
116 |
|
if (!property_exists($this->model, $propertyName)) { |
117 |
|
if (App::$Debug !== null) { |
118 |
|
App::$Debug->addMessage('Form field ["' . $object . '"] is not defined in model: [' . get_class($this->model) . ']', 'error'); |
119 |
|
} |
120 |
|
return null; |
121 |
|
} |
122 |
|
|