Lines Matching refs:json_database
409 * @param array $json_database If specified, it will be used for source data.
414 public function extractors_replace($str, $extractors, $json_database = NULL) { argument
417 function ($matches) use (&$extractors, $json_database) {
420 $json_var = helper_plugin_json::get($ext['tokens'], $json_database);
469 $val = helper_plugin_json::get($val_path, $json_database);
630 * @param array $json_database External array, where data will be added (database).
659 public function add_json(&$json_database, &$data, $recursion_depth, &$log) { argument
665 $json = &$json_database;
702 …$src = helper_plugin_json::extractors_replace(trim($src), $data['src_extractors'], $json_database);
859 …plugin_json::extractors_replace($json_inline_raw, $data['json_inline_extractors'], $json_database);
929 * @param array $json_database If specified, it will be used for source data.
934 public function get($path = array(), $json_database = NULL) { argument
937 $var = isset($json_database) ? $json_database : helper_plugin_json::$json;
961 * @param mixed $json_database - external array, where data will be added (database).
967 private function add_data(&$json_database, $append, $json_src, $src_path = null, &$log = null) { argument
979 if(is_array($json_database)) {
980 $json_database[] = $json_src;
983 $json_database = array($json_src);
987 if(is_array($json_database) && is_array($json_src)) {
988 $json_database = array_replace_recursive($json_database, $json_src);
991 $json_database = $json_src;