eZPublishCommunityProject(LegacyStack)  2013.9
pdf.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

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']
 
 $operationResult
 
 $res = eZTemplateDesignResource::instance()
 
if($viewCacheEnabled
&&($useTriggers==false)) 
$user = eZUser::currentUser()
 
 $useTriggers = in_array( 'content_read', array_unique( eZINI::instance( 'workflow.ini' )->variable( 'OperationSettings', 'AvailableOperationList' ) ) )
 
 $validation
 
 $viewCacheEnabled = ( $ini->variable( 'ContentSettings', 'ViewCaching' ) == 'enabled' )
 
 $viewParameters
 
 $Year = $Params['Year']
 
if(isset($Params['UserParameters'])) else
 

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

$Day = $Params['Day']
$ini = eZINI::instance()
$LanguageCode = $Params['Language']
$Module = $Params['Module']
$Month = $Params['Month']
$NodeID = $Params['NodeID']
$Offset = $Params['Offset']
$operationResult
Initial value:
= eZOperationHandler::execute( 'content', 'read', array( 'node_id' => $NodeID,
'user_id' => $user->id(),
'language_code' => $LanguageCode ), null, $useTriggers )
$user
Definition: ezconvertmysqltabletype.php:40
static execute($moduleName, $operationName, $operationParameters, $lastTriggerName=null, $useTriggers=true)
Definition: ezoperationhandler.php:49
$useTriggers
Definition: pdf.php:56
$LanguageCode
Definition: class/view.php:10
$NodeID
Definition: copysubtree.php:10
if ($viewCacheEnabled &&($useTriggers==false)) $user = eZUser::currentUser()
$useTriggers = in_array( 'content_read', array_unique( eZINI::instance( 'workflow.ini' )->variable( 'OperationSettings', 'AvailableOperationList' ) ) )
$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 )
$Offset
Definition: collaboration/group.php:13
$Year
Definition: pdf.php:13
$Month
Definition: pdf.php:14
$Day
Definition: pdf.php:15
$Year = $Params['Year']
if (isset($Params['UserParameters'])) else
Initial value:
{
$UserParameters = array()