예제 #1
0
 /**
  * Registers the "raw" function to be used as piped filter to disable automatic output escaping.
  * 
  * @param ExpressionFunctionRegistry $registry
  */
 public function registerFunctions(ExpressionFunctionRegistry $registry)
 {
     $registry->registerMethod('raw', $this, 'getRawOutput');
     $registry->registerMethod('parent', $this, 'renderParentBlock');
 }
 public function registerFunctions(ExpressionFunctionRegistry $registry)
 {
     $registry->registerMethod('network', $this, 'getNetworkUri');
     $registry->registerMethod('path', $this, 'getPathUri');
     $registry->registerMethod('uri', $this, 'getAbsoluteUri');
 }
 public function registerFunctions(ExpressionFunctionRegistry $registry)
 {
     $registry->registerMethod('asset', $this, 'getAssetUri');
     $registry->registerMethod('pipeline', $this, 'getPipelineUri');
 }