eZPublish  3.9
eZContentClassPackageHandler Class Reference

Handles content classes in the package system. More...

+ Inheritance diagram for eZContentClassPackageHandler:
+ Collaboration diagram for eZContentClassPackageHandler:

Public Member Functions

 add ($packageType, &$package, &$cli, $parameters)
 
 contentclassDirectory ()
 
 explainInstallItem (&$package, $installItem)
 
 eZContentClassPackageHandler ()
 
 handleAddParameters ($packageType, &$package, &$cli, $arguments)
 
 install (&$package, $installType, $parameters, $name, $os, $filename, $subdirectory, &$content, &$installParameters, &$installData)
 
 uninstall (&$package, $installType, $parameters, $name, $os, $filename, $subdirectory, &$content, &$installParameters, &$installData)
 
- Public Member Functions inherited from eZPackageHandler
 add ($packageType, &$package, $parameters)
 
 createDependencyNode (&$package, &$dependencyNode, $dependencyItem, $dependencySection)
 
 createDependencyText (&$package, $dependencyItem, $dependencySection)
 
 createInstallNode (&$package, &$installNode, $installItem, $installType)
 
 errorChoosenAction ($errorCode, &$installParameters, $description=false, $handlerType=false, $resetError=true)
 
 extractInstallContent ()
 
 eZPackageHandler ($handlerType, $parameters=array())
 
 handlerType ()
 
 isErrorElement ($elementID, &$installParameters)
 
 parseDependencyNode (&$package, &$dependencyNode, &$dependencyParameters, $dependencySection)
 
 parseInstallNode (&$package, &$installNode, &$installParameters, $isInstall)
 
 reset ()
 
 uninstall (&$package, $installType, $parameters, $name, $os, $filename, $subdirectory, $installParameters, &$installData)
 

Static Public Member Functions

 addClass (&$package, $classID, $classIdentifier=false)
 
classDOMTree (&$class)
 

Private Member Functions

 handleParameters ($packageType, &$package, &$cli, $type, $arguments)
 

Detailed Description

Handles content classes in the package system.

Member Function Documentation

eZContentClassPackageHandler::add (   $packageType,
$package,
$cli,
  $parameters 
)
eZContentClassPackageHandler::addClass ( $package,
  $classID,
  $classIdentifier = false 
)
static

Adds the content class with ID $classID to the package. If $classIdentifier is false then it will be fetched from the class.

Referenced by add(), and eZContentObjectPackageHandler\generatePackage().

& eZContentClassPackageHandler::classDOMTree ( $class)
static

Creates the DOM tree for the content class $class and returns the root node.

Referenced by addClass().

eZContentClassPackageHandler::contentclassDirectory ( )
eZContentClassPackageHandler::explainInstallItem ( $package,
  $installItem 
)
virtual

Returns an explanation for the content class install item.

Implements eZPackageHandler.

eZContentClassPackageHandler::eZContentClassPackageHandler ( )

Constructor

eZContentClassPackageHandler::handleAddParameters (   $packageType,
$package,
$cli,
  $arguments 
)
virtual

Implements eZPackageHandler.

eZContentClassPackageHandler::handleParameters (   $packageType,
$package,
$cli,
  $type,
  $arguments 
)
private

Referenced by handleAddParameters().

eZContentClassPackageHandler::install ( $package,
  $installType,
  $parameters,
  $name,
  $os,
  $filename,
  $subdirectory,
$content,
$installParameters,
$installData 
)
virtual

Creates a new contentclass as defined in the xml structure.

Implements eZPackageHandler.

eZContentClassPackageHandler::uninstall ( $package,
  $installType,
  $parameters,
  $name,
  $os,
  $filename,
  $subdirectory,
$content,
$installParameters,
$installData 
)

Uninstalls all previously installed content classes.


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