public function render($anvilTemplate = null) { // $this->_logDebug('Executing...'); if (is_object($this->template)) { // $this->_logDebug('Set Page anvilTemplate'); $this->template = clone $this->template; } $this->assignTokens(); $this->displayControls(); return $this->template->render($this->innerTemplate); }