protected function _setTpl($tpl)
    {
        $this->_tpl = $tpl;

        if ($tpl === true) {
            $this->_tpl = self::TPL_WRAP;
        }

        if ($tpl === false) {
            $this->_tpl = self::TPL_DEFAULT;
        }
    }
protected function _setTpl($tpl)
    {
        $this->_tpl = $tpl;

        if ($tpl === true) {
            $this->_tpl = self::TPL_WRAP;
        }

        if ($tpl === false) {
            $this->_tpl = self::TPL_DEFAULT;
        }
    }
protected function _setTpl ( $ tpl ) { $ this -> _tpl = $ tpl ; if ( $ tpl === true ) { $ this -> _tpl = self :: TPL_WRAP ; } if ( $ tpl === false ) { $ this -> _tpl = self :: TPL_DEFAULT ; } }
Setup template.

@param string $tpl
@return void
Setup template .