protected function computeIsTransparent()
	{
		foreach ($this->branches as $branch)
		{
			foreach ($branch as $element)
			{
				if (!ElementInspector::isTransparent($element))
				{
					$this->isTransparent = false;

					return;
				}
			}
		}
		$this->isTransparent = !empty($this->branches);
	}
protected function computeIsTransparent()
	{
		foreach ($this->branches as $branch)
		{
			foreach ($branch as $element)
			{
				if (!ElementInspector::isTransparent($element))
				{
					$this->isTransparent = false;

					return;
				}
			}
		}
		$this->isTransparent = !empty($this->branches);
	}
protected function computeIsTransparent ( ) { foreach ( $ this -> branches as $ branch ) { foreach ( $ branch as $ element ) { if ( ! ElementInspector :: isTransparent ( $ element ) ) { $ this -> isTransparent = false ; return ; } } } $ this -> isTransparent = ! empty ( $ this -> branches ) ; }
Compute the isTransparent property

A template is said to be transparent if it has at least one branch and no non-transparent
elements in its path

@return void
Compute the isTransparent property