eZPublishCommunityProject(LegacyStack)  2013.6
eZURLOperator Class Reference

Collection of url modifying operators. More...

Public Member Functions

 applyQuotes ($text, &$parameter, $onlyQuote=false)
 
 eZURLOperator ($url_name= 'ezurl', $urlroot_name= 'ezroot', $ezsys_name= 'ezsys', $design_name= 'ezdesign', $image_name= 'ezimage', $ext_name= 'exturl', $httpName= 'ezhttp', $iniName= 'ezini', $iniNameHasVariable= 'ezini_hasvariable', $httpNameHasVariable= 'ezhttp_hasvariable')
 
 iniTrans ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 
 modify ($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement)
 
 namedParameterList ()
 
 operatorList ()
 
 operatorTemplateHints ()
 
 urlTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 

Static Public Member Functions

static eZDesign ($tpl, $operatorValue, $operatorName)
 
static eZImage ($tpl, $operatorValue, $operatorName, $skipSlash=false)
 

Public Attributes

 $DesignName
 
 $ImageName
 
 $Operators
 
 $Sys
 
 $URLName
 
 $URLRootName
 
const HTTP_OPERATOR_TYPE_COOKIE = 4
 
const HTTP_OPERATOR_TYPE_GET = 2
 
const HTTP_OPERATOR_TYPE_POST = 1
 
const HTTP_OPERATOR_TYPE_SESSION = 3
 

Detailed Description

Collection of url modifying operators.

Member Function Documentation

eZURLOperator::applyQuotes (   $text,
$parameter,
  $onlyQuote = false 
)

Apply quotes to static text

Parameters
statictext
quoteparameter
ifset to true, return only quote value
Returns
text with quotes

Referenced by urlTransformation().

static eZURLOperator::eZDesign (   $tpl,
  $operatorValue,
  $operatorName 
)
static

Referenced by modify(), and urlTransformation().

static eZURLOperator::eZImage (   $tpl,
  $operatorValue,
  $operatorName,
  $skipSlash = false 
)
static

Referenced by modify(), and urlTransformation().

eZURLOperator::eZURLOperator (   $url_name = 'ezurl',
  $urlroot_name = 'ezroot',
  $ezsys_name = 'ezsys',
  $design_name = 'ezdesign',
  $image_name = 'ezimage',
  $ext_name = 'exturl',
  $httpName = 'ezhttp',
  $iniName = 'ezini',
  $iniNameHasVariable = 'ezini_hasvariable',
  $httpNameHasVariable = 'ezhttp_hasvariable' 
)

Initializes the image operator with the operator name $name.

eZURLOperator::iniTrans (   $operatorName,
$node,
  $tpl,
$resourceData,
  $element,
  $lastElement,
  $elementList,
  $elementTree,
$parameters 
)
eZURLOperator::modify (   $tpl,
  $operatorName,
  $operatorParameters,
  $rootNamespace,
  $currentNamespace,
$operatorValue,
  $namedParameters,
  $placement 
)
eZURLOperator::namedParameterList ( )
eZURLOperator::operatorList ( )

Returns the operators in this class.

eZURLOperator::operatorTemplateHints ( )
eZURLOperator::urlTransformation (   $operatorName,
$node,
  $tpl,
$resourceData,
  $element,
  $lastElement,
  $elementList,
  $elementTree,
$parameters 
)

Member Data Documentation

eZURLOperator::$DesignName
eZURLOperator::$ImageName
eZURLOperator::$Operators

Referenced by operatorList().

eZURLOperator::$Sys
eZURLOperator::$URLName
eZURLOperator::$URLRootName
const eZURLOperator::HTTP_OPERATOR_TYPE_COOKIE = 4

Referenced by modify().

const eZURLOperator::HTTP_OPERATOR_TYPE_GET = 2

Referenced by modify().

const eZURLOperator::HTTP_OPERATOR_TYPE_POST = 1

Referenced by modify().

const eZURLOperator::HTTP_OPERATOR_TYPE_SESSION = 3

Referenced by modify().


The documentation for this class was generated from the following file: