private function blockVar($nodes, $id, $start, $end, $otag, $ctag, $level)
    {
        $id = var_export($id, true);

        $else = $this->walk($nodes, $level);
        if ($else !== '') {
            $else = sprintf($this->prepare(self::BLOCK_VAR_ELSE, $level + 1, false, true), $else);
        }

        return sprintf($this->prepare(self::BLOCK_VAR, $level), $id, $else);
    }
private function blockVar($nodes, $id, $start, $end, $otag, $ctag, $level)
    {
        $id = var_export($id, true);

        $else = $this->walk($nodes, $level);
        if ($else !== '') {
            $else = sprintf($this->prepare(self::BLOCK_VAR_ELSE, $level + 1, false, true), $else);
        }

        return sprintf($this->prepare(self::BLOCK_VAR, $level), $id, $else);
    }
private function blockVar ( $ nodes , $ id , $ start , $ end , $ otag , $ ctag , $ level ) { $ id = var_export ( $ id , true ) ; $ else = $ this -> walk ( $ nodes , $ level ) ; if ( $ else !== '' ) { $ else = sprintf ( $ this -> prepare ( self :: BLOCK_VAR_ELSE , $ level + 1 , false , true ) , $ else ) ; } return sprintf ( $ this -> prepare ( self :: BLOCK_VAR , $ level ) , $ id , $ else ) ; }
Generate Mustache Template inheritance block variable PHP source.

@param array  $nodes Array of child tokens
@param string $id    Section name
@param int    $start Section start offset
@param int    $end   Section end offset
@param string $otag  Current Mustache opening tag
@param string $ctag  Current Mustache closing tag
@param int    $level

@return string Generated PHP source code
Generate Mustache Template inheritance block variable PHP source .