libraries/tbs/plugins/tbs_plugin_opentbs.php
function TbsStorePut($idx, $src, $onshow = null) {
		if ($idx===$this->TbsCurrIdx) {
			$this->TBS->Source = $src;
		} else {
			if (is_null($onshow)) {
				if (isset($this->TbsStoreLst[$idx])) {
					$onshow = $this->TbsStoreLst[$idx]['onshow'];
				} else {
					$onshow = false;
				}
			}
			$this->TbsStoreLst[$idx] = array('src'=>$src, 'onshow'=>$onshow);
		}
	}
function TbsStorePut($idx, $src, $onshow = null) {
		if ($idx===$this->TbsCurrIdx) {
			$this->TBS->Source = $src;
		} else {
			if (is_null($onshow)) {
				if (isset($this->TbsStoreLst[$idx])) {
					$onshow = $this->TbsStoreLst[$idx]['onshow'];
				} else {
					$onshow = false;
				}
			}
			$this->TbsStoreLst[$idx] = array('src'=>$src, 'onshow'=>$onshow);
		}
	}
function TbsStorePut ( $ idx , $ src , $ onshow = null ) { if ( $ idx === $ this -> TbsCurrIdx ) { $ this -> TBS -> Source = $ src ; } else { if ( is_null ( $ onshow ) ) { if ( isset ( $ this -> TbsStoreLst [ $ idx ] ) ) { $ onshow = $ this -> TbsStoreLst [ $ idx ] [ 'onshow' ] ; } else { $ onshow = false ; } } $ this -> TbsStoreLst [ $ idx ] = array ( 'src' => $ src , 'onshow' => $ onshow ) ; } }
Save a given source in the store.
$onshow=true means [onshow] are merged before the output.
If $onshow is null, then the 'onshow' option stays unchanged.
Save a given source in the store . $onshow = true means [ onshow ] are merged before the output . If $onshow is null then the onshow option stays unchanged .