eZ Publish  [trunk]
eZStylePackageCreator Class Reference

The class eZStylePackageCreator does. More...

+ Inheritance diagram for eZStylePackageCreator:
+ Collaboration diagram for eZStylePackageCreator:

List of all members.

Public Member Functions

 commitCSSFile ($package, $http, $step, &$persistentData, $tpl)
 commitImageFiles ($package, $http, $step, &$persistentData, $tpl)
 eZStylePackageCreator ($id)
 finalize (&$package, $http, &$persistentData)
 generatePackageInformation (&$packageInformation, $package, $http, $step, &$persistentData)
 initializeCSSFile ($package, $http, $step, &$persistentData, $tpl)
 initializeImageFiles ($package, $http, $step, &$persistentData, $tpl)
 packageInitialState ($package, &$persistentData)
 packageInstallType ($package, &$persistentData)
 packageType ($package, &$persistentData)
 validateCSSFile ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)
 validateImageFiles ($package, $http, $currentStepID, &$stepMap, &$persistentData, &$errorList)

Detailed Description

The class eZStylePackageCreator does.

Definition at line 18 of file ezstylepackagecreator.php.


Member Function Documentation

eZStylePackageCreator::commitCSSFile ( package,
http,
step,
&$  persistentData,
tpl 
)

Definition at line 204 of file ezstylepackagecreator.php.

eZStylePackageCreator::commitImageFiles ( package,
http,
step,
&$  persistentData,
tpl 
)

Definition at line 249 of file ezstylepackagecreator.php.

Constructor

Definition at line 23 of file ezstylepackagecreator.php.

eZStylePackageCreator::finalize ( &$  package,
http,
&$  persistentData 
)

Finalizes the creation process with the gathered information. This is usually the function that creates the package and adds the proper elements.

Reimplemented from eZPackageCreationHandler.

Definition at line 47 of file ezstylepackagecreator.php.

eZStylePackageCreator::generatePackageInformation ( &$  packageInformation,
package,
http,
step,
&$  persistentData 
)

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

Reimplemented from eZPackageCreationHandler.

Definition at line 256 of file ezstylepackagecreator.php.

eZStylePackageCreator::initializeCSSFile ( package,
http,
step,
&$  persistentData,
tpl 
)

Definition at line 172 of file ezstylepackagecreator.php.

eZStylePackageCreator::initializeImageFiles ( package,
http,
step,
&$  persistentData,
tpl 
)

Definition at line 220 of file ezstylepackagecreator.php.

eZStylePackageCreator::packageInitialState ( package,
&$  persistentData 
)

Returns 'stable', site style packages are always stable.

Reimplemented from eZPackageCreationHandler.

Definition at line 158 of file ezstylepackagecreator.php.

eZStylePackageCreator::packageInstallType ( package,
&$  persistentData 
)
Returns:
'import'

Reimplemented from eZPackageCreationHandler.

Definition at line 150 of file ezstylepackagecreator.php.

eZStylePackageCreator::packageType ( package,
&$  persistentData 
)
Returns:
'sitestyle'.

Reimplemented from eZPackageCreationHandler.

Definition at line 166 of file ezstylepackagecreator.php.

eZStylePackageCreator::validateCSSFile ( package,
http,
currentStepID,
&$  stepMap,
&$  persistentData,
&$  errorList 
)

Checks if the css file was uploaded.

Definition at line 179 of file ezstylepackagecreator.php.

eZStylePackageCreator::validateImageFiles ( package,
http,
currentStepID,
&$  stepMap,
&$  persistentData,
&$  errorList 
)

Checks if the css file was uploaded.

Definition at line 228 of file ezstylepackagecreator.php.


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