eZPublishCommunityProject(LegacyStack)  2013.9
eZContentObjectPackageCreator Class Reference

A package creator for content objects. More...

+ Inheritance diagram for eZContentObjectPackageCreator:
+ Collaboration diagram for eZContentObjectPackageCreator:

Public Member Functions

 eZContentObjectPackageCreator ($id)
 
 finalize (&$package, $http, &$persistentData)
 
 generatePackageInformation (&$packageInformation, $package, $http, $step, &$persistentData)
 
 initializeObjectLimits ($package, $http, $step, &$persistentData, $tpl)
 
 initializeObjectList ($package, $http, $step, &$persistentData, $tpl)
 
 loadObjectLimits ($package, $http, $step, &$persistentData, $tpl, &$module)
 
 loadObjectList ($package, $http, $step, &$persistentData, $tpl, &$module)
 
 packageInitialState ($package, &$persistentData)
 
 packageType ($package, &$persistentData)
 
 validateObjectLimits ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validateObjectList ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
- Public Member Functions inherited from eZPackageCreationHandler
 attribute ($name)
 
 attributes ()
 
 checkPackageMaintainer ($package, &$persistentData)
 
 commitPackageChangelog ($package, $http, $step, &$persistentData, $tpl)
 
 commitPackageInformation ($package, $http, $step, &$persistentData, $tpl)
 
 commitPackageMaintainer ($package, $http, $step, &$persistentData, $tpl)
 
 commitPackageThumbnail ($package, $http, $step, &$persistentData, $tpl)
 
 commitStep ($package, $http, $step, &$persistentData, $tpl)
 
 commitStepMethodMap ()
 
 createPackage (&$package, $http, &$persistentData, &$cleanupFiles, $storePackage=true)
 
 eZPackageCreationHandler ($id, $name, $steps)
 
 finalize (&$package, $http, &$persistentData)
 
 generatePackageInformation (&$packageInformation, $package, $http, $step, &$persistentData)
 
 generateStepMap ($package, &$persistentData)
 
 hasAttribute ($name)
 
 initialChangelogEntry ($package, $http, $step, &$persistentData, $tpl)
 
 initializePackageChangelog ($package, $http, $step, &$persistentData, $tpl)
 
 initializePackageInformation ($package, $http, $step, &$persistentData, $tpl)
 
 initializePackageMaintainer ($package, $http, $step, &$persistentData, $tpl)
 
 initializePackageThumbnail ($package, $http, $step, &$persistentData, $tpl)
 
 initializeStep ($package, $http, $step, &$persistentData, $tpl)
 
 initializeStepMethodMap ()
 
 loadStep ($package, $http, $currentStepID, &$persistentData, $tpl, &$module)
 
 loadStepMethodMap ()
 
 packageInitialState ($package, &$persistentData)
 
 packageInstallType ($package, &$persistentData)
 
 packageType ($package, &$persistentData)
 
stepMap ()
 
 stepTemplate ($step)
 
 validateAndAdvanceStep ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validatePackageChangelog ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validatePackageInformation ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validatePackageMaintainer ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validatePackageThumbnail ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validateStep ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 
 validateStepMethodMap ()
 

Additional Inherited Members

- Static Public Member Functions inherited from eZPackageCreationHandler
static appendLicence ($package)
 
static creatorLimitationList ()
 
static & creatorList ($checkRoles=false)
 
static instance ($handlerName)
 Returns a shared instance of the eZPackageCreationHandler class pr $handlerName as defined in package.ini[CreationSettings]HandlerAlias. More...
 
 packageChangelogStep ()
 
 packageInformationStep ()
 
 packageMaintainerStep ()
 
 packageThumbnailStep ()
 

Detailed Description

A package creator for content objects.

Member Function Documentation

eZContentObjectPackageCreator::eZContentObjectPackageCreator (   $id)
eZContentObjectPackageCreator::finalize ( $package,
  $http,
$persistentData 
)

Creates the package and adds the selected content classes.

eZContentObjectPackageCreator::generatePackageInformation ( $packageInformation,
  $package,
  $http,
  $step,
$persistentData 
)

Fetches the selected content classes and generates a name, summary and description from the selection.

eZContentObjectPackageCreator::initializeObjectLimits (   $package,
  $http,
  $step,
$persistentData,
  $tpl 
)
eZContentObjectPackageCreator::initializeObjectList (   $package,
  $http,
  $step,
$persistentData,
  $tpl 
)
eZContentObjectPackageCreator::loadObjectLimits (   $package,
  $http,
  $step,
$persistentData,
  $tpl,
$module 
)
eZContentObjectPackageCreator::loadObjectList (   $package,
  $http,
  $step,
$persistentData,
  $tpl,
$module 
)
eZContentObjectPackageCreator::packageInitialState (   $package,
$persistentData 
)

Returns 'stable', content class packages are always stable.

eZContentObjectPackageCreator::packageType (   $package,
$persistentData 
)
Returns
'contentclass'.
eZContentObjectPackageCreator::validateObjectLimits (   $package,
  $http,
  $currentStepID,
$stepMap,
$persistentData,
$errorList 
)

Checks if at least one content class has been selected.

eZContentObjectPackageCreator::validateObjectList (   $package,
  $http,
  $currentStepID,
$stepMap,
$persistentData,
$errorList 
)

Checks if at least one content class has been selected.


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