eZPublish  4.4
eZINIAddonPackageHandler Class Reference

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

+ Inheritance diagram for eZINIAddonPackageHandler:
+ Collaboration diagram for eZINIAddonPackageHandler:

Public Member Functions

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

Static Public Member Functions

 addOverrideAddon ($package, $filename, &$iniOverrideArray, $remoteIDArray)
 
static currentID ($valueNode, $db)
 
 iniDOMTree ($filename, $siteAccess, &$blockArray, $remoteIDArray)
 
- Static Public Member Functions inherited from eZPackageHandler
static errorChoosenAction ($errorCode, &$installParameters, $description, $handlerType, $resetError=true)
 

Detailed Description

Handles content classes in the package system.

Member Function Documentation

eZINIAddonPackageHandler::addOverrideAddon (   $package,
  $filename,
$iniOverrideArray,
  $remoteIDArray 
)
static

Adds the content of the ini override to the package

Parameters
package
inifilename, ex: site.ini
iniOverrideArraystructure array( <site_access> => array( <ini_block_name> => array( <ini_block_values> ) ) )
remoteIDArratstructure: array( <class|node|object> => array( <id> => <remote_id> ) )
static eZINIAddonPackageHandler::currentID (   $valueNode,
  $db 
)
static

get current id of value node

Parameters
valueDOMNode
dbconnection

Referenced by install().

eZINIAddonPackageHandler::eZINIAddonPackageHandler ( )

Constructor

eZINIAddonPackageHandler::iniDOMTree (   $filename,
  $siteAccess,
$blockArray,
  $remoteIDArray 
)
static

Create DOMNode from inioverride

Parameters
inifilename
siteaccess
inivalues, struct: array( <ini_block_name> => array( <ini_block_values> ) )
remoteIDarray
Returns
DOMNode, false if fails

Referenced by addOverrideAddon().

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

Creates a new override setting for the specified override.

Parameters
installParameters- optional value array( 'site_access_map' => array( <package site="" access>=""> => <install site="" access>=""> ) )

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