eZ Publish  [trunk]
eZURLOperator Class Reference

Collection of url modifying operators. More...

List of all members.

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.

Definition at line 17 of file ezurloperator.php.


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

Definition at line 612 of file ezurloperator.php.

Referenced by urlTransformation().

static eZURLOperator::eZDesign ( tpl,
operatorValue,
operatorName 
) [static]

Definition at line 930 of file ezurloperator.php.

Referenced by modify(), and urlTransformation().

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

Definition at line 959 of file ezurloperator.php.

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.

Definition at line 27 of file ezurloperator.php.

eZURLOperator::iniTrans ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 113 of file ezurloperator.php.

eZURLOperator::modify ( tpl,
operatorName,
operatorParameters,
rootNamespace,
currentNamespace,
&$  operatorValue,
namedParameters,
placement 
)

Definition at line 660 of file ezurloperator.php.

Definition at line 650 of file ezurloperator.php.

Returns the operators in this class.

Definition at line 645 of file ezurloperator.php.

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

Definition at line 219 of file ezurloperator.php.


Member Data Documentation

eZURLOperator::$DesignName

Definition at line 990 of file ezurloperator.php.

eZURLOperator::$ImageName

Definition at line 990 of file ezurloperator.php.

eZURLOperator::$Operators

Definition at line 989 of file ezurloperator.php.

eZURLOperator::$Sys

Definition at line 991 of file ezurloperator.php.

eZURLOperator::$URLName

Definition at line 990 of file ezurloperator.php.

eZURLOperator::$URLRootName

Definition at line 990 of file ezurloperator.php.

Definition at line 22 of file ezurloperator.php.

Referenced by modify().

Definition at line 20 of file ezurloperator.php.

Referenced by modify().

Definition at line 19 of file ezurloperator.php.

Referenced by modify().

Definition at line 21 of file ezurloperator.php.

Referenced by modify().


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