Lines Matching defs:persistent
333 * @param boolean $persistent indicates whether or not the particular metadata value will persist through
340 function p_set_metadata($id, $data, $render = false, $persistent = true)
370 if ($persistent) {
371 if (isset($meta['persistent'][$key][$subkey]) && is_array($meta['persistent'][$key][$subkey])) {
372 $meta['persistent'][$key][$subkey] = array_replace(
373 $meta['persistent'][$key][$subkey],
377 $meta['persistent'][$key][$subkey] = $subvalue;
390 if ($persistent) {
391 $meta['persistent'][$key] = empty($meta['persistent'][$key]) ?
393 array_replace((array)$meta['persistent'][$key], $value);
400 if ($persistent) $meta['persistent'][$key] = $value;
410 $METADATA_RENDERERS[$id]['persistent'] = $meta['persistent'];
460 ['current' => [], 'persistent' => []];
495 * @return array|null array('current'=> array,'persistent'=> array);
530 $renderer->persistent =& $orig['persistent'];
538 $evt->result = ['current' => &$renderer->meta, 'persistent' => &$renderer->persistent];