public function findInBlock($id)
    {
        foreach ($this->blockStack as $context) {
            if (array_key_exists($id, $context)) {
                return $context[$id];
            }
        }

        return '';
    }
public function findInBlock($id)
    {
        foreach ($this->blockStack as $context) {
            if (array_key_exists($id, $context)) {
                return $context[$id];
            }
        }

        return '';
    }
public function findInBlock ( $ id ) { foreach ( $ this -> blockStack as $ context ) { if ( array_key_exists ( $ id , $ context ) ) { return $ context [ $ id ] ; } } return '' ; }
Find an argument in the block context stack.

@param string $id

@return mixed Variable value, or '' if not found
Find an argument in the block context stack .