Lines Matching refs:this
28 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'template_action' );
43 $u = $this->get_user( ); // init user data
59 $this->save_session( 'template', $tpl );
63 $this->save_session( 'template', '' ); // fix subconf switch
73 $this->save_session( 'template_theme', $_GET['utpl_theme'] );
77 $this->_switch( $tpl, $theme );
84 if( !isset( $this->u['load'] )) {
86 … $this->u = ( isset( $_SESSION[DOKU_COOKIE]['tpl'] )) ? $_SESSION[DOKU_COOKIE]['tpl'] : false;
89 if( !isset( $this->u['load'] )) {
90 $this->u['load'] = 1;
93 if( $var ) return isset( $this->u[$var] ) ? $this->u[$var] : false;
94 return $this->u;
102 $this->u[$var] = $val;
105 $_SESSION[DOKU_COOKIE]['tpl'] = $this->u;
124 if( $this->get_user( 'template' )) { return ''; }
126 $this->_switch( $tpl );
141 $tconf = $this->tpl_loadconfig( $tpl );