public static function getSuccessDatum($meta = [], $data = null, $html = false) {
        $defaultMeta = array(
            'result' => OperationResult::SUCCESS,
            'type' => OperationResult::getType(OperationResult::SUCCESS),
            'time' => date('Y-m-d H:i:s'),
            'message' => Yii::t('cza', 'Operation completed.')
        );
        
        if (isset($meta['message']) && is_array($meta['message'])) {
            $meta['message'] = self::formatMsg($meta['message']);
        }

        $result = array(
            '_data' => $data, '_meta' => array_merge($defaultMeta, $meta),
        );

        if ($html)
            $result['_meta']['message'] = '<div class=\'alert-box done\'><i class=\'fa-check-circle\'></i> ' . $result['_meta']['message'] . '</div>';
        return $result;
    }