/** * 2016-09-08 * @param string|object $caller * @param string|mixed[] $data * @param string|null $suffix [optional] * @return void */ function dfp_report($caller, $data, $suffix = null) { df_report(df_ccc('--', 'mage2.pro/' . dfp_method_code($caller) . '-{date}--{time}', $suffix) . '.log', !is_array($data) ? $data : df_json_encode_pretty($data)); }
/** * 2015-12-09 * @param mixed $data * @return string */ function df_json_encode($data) { return df_is_dev() ? df_json_encode_pretty($data) : json_encode($data); }
/** * 2015-12-07 * @used-by \Df\Framework\Form\Element\FieldsetBackend::dfSaveBefore() * @return void */ protected function valueSerialize() { $this->setValue(df_json_encode_pretty($this->processA($this->value()))); }