eZPublish  3.8
pdf.php File Reference

Functions

 contentPDFGenerate ($cacheFile, &$node, $object=false, $viewCacheEnabled=true, $languageCode=false, $viewParameters=array())
 
switch($operationResult['status']) contentPDFPassthrough ($cacheFile)
 

Variables

 $collectionAttributes = false
 
 $Day = $Params['Day']
 
 $ini =& eZINI::instance()
 
 $keys =& $res->keys()
 
 $LanguageCode = $Params['Language']
 
else $layout = false
 
 $Module =& $Params['Module']
 
 $Month = $Params['Month']
 
 $NodeID = $Params['NodeID']
 
 $Offset = $Params['Offset']
 
 $operationList = $workflowINI->variableArray( 'OperationSettings', 'AvailableOperations' )
 
 $operationResult
 
 $res =& eZTemplateDesignResource::instance()
 
 $user =& eZUser::currentUser()
 
 $validation
 
 $viewCacheEnabled = ( $ini->variable( 'ContentSettings', 'ViewCaching' ) == 'enabled' )
 
 $viewParameters
 
 $workflowINI =& eZINI::instance( 'workflow.ini' )
 
 $Year = $Params['Year']
 
if(isset($Params['UserParameters'])) else
 
 if ($viewCacheEnabled &&($useTriggers==false))
 

Function Documentation

contentPDFGenerate (   $cacheFile,
$node,
  $object = false,
  $viewCacheEnabled = true,
  $languageCode = false,
  $viewParameters = array() 
)

generate PDF, and output stream.

switch ($operationResult['status']) contentPDFPassthrough (   $cacheFile)

Passthrough PDF cache file, and exit cleanly

Variable Documentation

$collectionAttributes = false
$Day = $Params['Day']
$ini =& eZINI::instance()
$LanguageCode = $Params['Language']
$Module =& $Params['Module']
$Month = $Params['Month']
$NodeID = $Params['NodeID']
$Offset = $Params['Offset']
$operationList = $workflowINI->variableArray( 'OperationSettings', 'AvailableOperations' )
$operationResult
Initial value:
= eZOperationHandler::execute( 'content', 'read', array( 'node_id' => $NodeID,
'user_id' => $user->id(),
'language_code' => $LanguageCode ), null, $useTriggers )
$user
Definition: ezconvertmysqltabletype.php:57
execute($moduleName, $operationName, $operationParameters, $lastTriggerName=null, $useTriggers=true)
Definition: ezoperationhandler.php:62
$LanguageCode
Definition: pdf.php:38
if(isset($Params['NodeID'])&&is_numeric($Params['NodeID'])) $NodeID
Definition: browse.php:48

Referenced by eZPaymentObject\continueWorkflow(), eZWebDAVContentServer\createFolder(), eZShopOperationCollection\handleUserCountry(), importRSSItem(), eZStepCreateSites\initializePackage(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), eZObjectRelationListType\onPublish(), eZContentUpload\publishObject(), and eZContentObject\rename().

$user =& eZUser::currentUser()
$validation
Initial value:
= array( 'processed' => false,
'attributes' => array() )
$viewCacheEnabled = ( $ini->variable( 'ContentSettings', 'ViewCaching' ) == 'enabled' )
$viewParameters
Initial value:
= array( 'offset' => $Offset,
'year' => $Year,
'month' => $Month,
'day' => $Day )
$Year
Definition: pdf.php:40
$Offset
Definition: group.php:34
$Month
Definition: pdf.php:41
$Day
Definition: pdf.php:42
$workflowINI =& eZINI::instance( 'workflow.ini' )
$Year = $Params['Year']
if (in_array( 'content_read', $operationList)) else
Initial value:
{
$UserParameters = array()
if($viewCacheEnabled &&($useTriggers==false))