コード例 #1
0
 /**
  * Given either a path or a Page object, this is a shortcut to
  * 1. Grab the controller of THAT page.
  * 2. Grab the view of THAT controller
  * 3. Render that view.
  * 4. Exit – so we immediately stop all other output in the controller that
  * called render().
  *
  * @param @string|\Concrete\Core\Page\Page $var
  */
 public function replace($var)
 {
     return parent::replace($var);
 }