function modify( &$tpl, &$operatorName, &$operatorParameters, &$rootNamespace,
                     &$currentNamespace, &$operatorValue, &$namedParameters )
    {
       switch ( $operatorName )
       {
            case 'opengraph':
            {
                $operatorValue = $this->generateOpenGraphTags( $namedParameters['nodeid'] );
                break;
            }
            case 'language_code':
            {
                $operatorValue = eZLocale::instance()->httpLocaleCode();
                break;
            }
       }
    }
function modify( &$tpl, &$operatorName, &$operatorParameters, &$rootNamespace,
                     &$currentNamespace, &$operatorValue, &$namedParameters )
    {
       switch ( $operatorName )
       {
            case 'opengraph':
            {
                $operatorValue = $this->generateOpenGraphTags( $namedParameters['nodeid'] );
                break;
            }
            case 'language_code':
            {
                $operatorValue = eZLocale::instance()->httpLocaleCode();
                break;
            }
       }
    }
function modify ( & $ tpl , & $ operatorName , & $ operatorParameters , & $ rootNamespace , & $ currentNamespace , & $ operatorValue , & $ namedParameters ) { switch ( $ operatorName ) { case 'opengraph' : { $ operatorValue = $ this -> generateOpenGraphTags ( $ namedParameters [ 'nodeid' ] ) ; break ; } case 'language_code' : { $ operatorValue = eZLocale :: instance ( ) -> httpLocaleCode ( ) ; break ; } } }
Executes the operators

@param eZTemplate $tpl
@param string $operatorName
@param array $operatorParameters
@param string $rootNamespace
@param string $currentNamespace
@param mixed $operatorValue
@param array $namedParameters
Executes the operators