core-bundle/src/Resources/contao/elements/ContentProxy.php
public function generate()
	{
		$reference = new ContentElementReference($this->objModel, $this->strColumn);

		if ('BE' === TL_MODE)
		{
			$reference->setBackendScope();
		}

		return System::getContainer()->get('fragment.handler')->render($reference);
	}
public function generate()
	{
		$reference = new ContentElementReference($this->objModel, $this->strColumn);

		if ('BE' === TL_MODE)
		{
			$reference->setBackendScope();
		}

		return System::getContainer()->get('fragment.handler')->render($reference);
	}
public function generate ( ) { $ reference = new ContentElementReference ( $ this -> objModel , $ this -> strColumn ) ; if ( 'BE' === TL_MODE ) { $ reference -> setBackendScope ( ) ; } return System :: getContainer ( ) -> get ( 'fragment.handler' ) -> render ( $ reference ) ; }
{@inheritdoc}
{