eZPublish  3.8
visual/templatecreate.php File Reference

Functions

generateDefaultTemplate (&$http, $template, $fileName)
 
if($module->isCurrentAction(
'CreateOverride')) else if($module->
isCurrentAction(
'CancelOverride'))& 
generateNodeViewTemplate (&$http, $template, $fileName)
 
generateObjectViewTemplate (&$http, $template, $fileName)
 
generatePagelayoutTemplate (&$http, $template, $fileName)
 

Variables

if(strpos($template,"node/view"))
else if(strpos($template,"content/view"))
else if(strpos($template,"content/edit"))
else if(strpos($template,"pagelayout.tpl")) 
$error = false
 
 $http =& eZHTTPTool::instance()
 
 $ini =& eZINI::instance()
 
 $module =& $Params["Module"]
 
 $overrideKeys
 
 $parameters =& $Params["Parameters"]
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:visual/templatecreate.tpl" )
 
 $Result ['path']
 
 $siteAccess = $Params['SiteAccess']
 
 $siteBase = $siteAccess
 
 $siteDesign = $siteINI->variable( "DesignSettings", "SiteDesign" )
 
 $siteINI = eZINI::instance( 'site.ini', 'settings', null, null, true )
 
 $template = ""
 
 $templateName = false
 
foreach($parameters as $param) $templateType = 'default'
 
 $tpl =& templateInit()
 

Function Documentation

& generateDefaultTemplate ( $http,
  $template,
  $fileName 
)
if ($module->isCurrentAction( 'CreateOverride')) else if ($module->isCurrentAction( 'CancelOverride'))& generateNodeViewTemplate ( $http,
  $template,
  $fileName 
)
& generateObjectViewTemplate ( $http,
  $template,
  $fileName 
)
& generatePagelayoutTemplate ( $http,
  $template,
  $fileName 
)

Variable Documentation

if (strpos($template,"node/view")) else if (strpos($template,"content/view")) else if (strpos($template,"content/edit")) else if (strpos($template,"pagelayout.tpl")) $error = false
$ini =& eZINI::instance()
$module =& $Params["Module"]
$overrideKeys
Initial value:
= array( 'nodeID' => $Params['NodeID'],
'classID' => $Params['ClassID'] )
$Params['TemplateName']
Definition: user/register.php:47

Referenced by eZTemplateDesignResource\createOverrideCache().

$parameters =& $Params["Parameters"]
$Result = array()
$Result['content'] =& $tpl->fetch( "design:visual/templatecreate.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => "/visual/templatelist/",
'text' => ezi18n( 'kernel/design', 'Template list' ) ),
array( 'url' => "/visual/templateview". $template,
'text' => ezi18n( 'kernel/design', 'Template view' ) ),
array( 'url' => false,
'text' => ezi18n( 'kernel/design', 'Create new template' ) ) )
$template
Definition: group.php:51
else $siteAccess = $Params['SiteAccess']
$siteDesign = $siteINI->variable( "DesignSettings", "SiteDesign" )
$siteINI = eZINI::instance( 'site.ini', 'settings', null, null, true )
$template = ""
$templateName = false
foreach ($parameters as $param) $templateType = 'default'
$tpl =& templateInit()