The property template does not seem to exist. Did you mean _template?
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
Loading history...
24
1
]);
25
1
}
26
27
1
public function actionSave()
28
{
29
1
$text = $this->getItem('text');
30
1
foreach ($this->getHisite()->getDefines() as $key => $value) {
31
1
$value = var_export($value, true);
32
1
$text = preg_replace("/^defined\('$key'\) or define\('$key',.*$/m", "defined('$key') or define('$key', $value);", $text);
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.