eZPublish  4.5
eZPDFExport Class Reference

class for storing PDF exports More...

+ Inheritance diagram for eZPDFExport:
+ Collaboration diagram for eZPDFExport:

Public Member Functions

 countGeneratingOnceExports ($filename= '')
 
 exportClassesArray ()
 
 eZPDFExport ($row)
 
 filepath ()
 
 modifier ()
 
 remove ($conditions=null, $extraConditions=null)
 
 sourceNode ()
 
 store ($publish=false)
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static create ($user_id)
 
static definition ()
 
static fetch ($id, $asObject=true, $version=eZPDFExport::VERSION_VALID)
 
static fetchList ($asObject=true)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Public Attributes

const CREATE_ONCE = 1
 
const CREATE_ONFLY = 2
 
const VERSION_DRAFT = 1
 
const VERSION_VALID = 0
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

class for storing PDF exports

eZPDFExport is used to create PDF exports from published content. See kernel/pdf for more files.

Member Function Documentation

eZPDFExport::countGeneratingOnceExports (   $filename = '')
static eZPDFExport::create (   $user_id)
static

Creates a new PDF Export

Parameters
UserID
static eZPDFExport::definition ( )
static
eZPDFExport::exportClassesArray ( )
eZPDFExport::eZPDFExport (   $row)

Initializes a new eZPDFExport.

Referenced by create().

static eZPDFExport::fetch (   $id,
  $asObject = true,
  $version = eZPDFExport::VERSION_VALID 
)
static

Fetches the PDF Export by ID.

Parameters
PDFExport ID
static eZPDFExport::fetchList (   $asObject = true)
static

Fetches complete list of PDF Exports.

eZPDFExport::filepath ( )
eZPDFExport::modifier ( )
eZPDFExport::remove (   $conditions = null,
  $extraConditions = null 
)

transaction unsafe.

eZPDFExport::sourceNode ( )
eZPDFExport::store (   $publish = false)

Store Object to database

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Member Data Documentation

const eZPDFExport::CREATE_ONCE = 1
const eZPDFExport::CREATE_ONFLY = 2

Referenced by remove().

const eZPDFExport::VERSION_DRAFT = 1

Referenced by store().

const eZPDFExport::VERSION_VALID = 0

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