|
eZ Publish
[trunk]
|
Go to the source code of this file.
Functions | |
| copyBinaryfilesToDB ($remove) | |
| copyFilesFromDB ($excludeScopes, $remove) | |
| copyImagesToDB ($remove) | |
| copyMediafilesToDB ($remove) | |
| filePathForBinaryFile ($fileName, $mimeType) | |
Variables | |
| $cli = eZCLI::instance() | |
| $clusterize = !isset( $options['u'] ) | |
| $copyFiles = !isset( $options['skip-binary-files'] ) | |
| $copyImages = !isset( $options['skip-images'] ) | |
| $copyMedia = !isset( $options['skip-media-files'] ) | |
| if($wait) | $fileHandler = eZClusterFileHandler::instance() |
| $options | |
| $remove = isset( $options['r'] ) | |
| $script | |
| $wait = !isset( $options['n'] ) | |
| copyBinaryfilesToDB | ( | $ | remove | ) |
Definition at line 34 of file clusterize.php.
| copyFilesFromDB | ( | $ | excludeScopes, |
| $ | remove | ||
| ) |
Definition at line 89 of file clusterize.php.
| copyImagesToDB | ( | $ | remove | ) |
Definition at line 71 of file clusterize.php.
| copyMediafilesToDB | ( | $ | remove | ) |
Definition at line 53 of file clusterize.php.
| filePathForBinaryFile | ( | $ | fileName, |
| $ | mimeType | ||
| ) |
Definition at line 26 of file clusterize.php.
Referenced by copyBinaryfilesToDB(), and copyMediafilesToDB().
| $cli = eZCLI::instance() |
Definition at line 109 of file clusterize.php.
| $clusterize = !isset( $options['u'] ) |
Definition at line 132 of file clusterize.php.
| $copyFiles = !isset( $options['skip-binary-files'] ) |
Definition at line 134 of file clusterize.php.
| $copyImages = !isset( $options['skip-images'] ) |
Definition at line 136 of file clusterize.php.
| $copyMedia = !isset( $options['skip-media-files'] ) |
Definition at line 135 of file clusterize.php.
| if ($wait) $fileHandler = eZClusterFileHandler::instance() |
Definition at line 149 of file clusterize.php.
Referenced by eZPackage\appendSimpleFile(), eZContentCache\cleanup(), eZCache\clearClassID(), eZCache\clearDesignBaseCache(), eZCache\clearItem(), eZCache\clearSortKey(), eZCache\clearStateLimitations(), eZCache\clearTextToImageCache(), eZImageManager\convert(), copyBinaryfilesToDB(), copyFilesFromDB(), copyImagesToDB(), copyMediafilesToDB(), eZImageManager\createImageAlias(), eZMediaType\fetchObjectAttributeHTTPInput(), eZBinaryFileType\fetchObjectAttributeHTTPInput(), eZTemplateImageOperator\hasImage(), eZImageAliasHandler\initialize(), eZBinaryFileType\insertHTTPFile(), eZMediaType\insertHTTPFile(), eZBinaryFileType\insertRegularFile(), eZMediaType\insertRegularFile(), eZTemplateImageOperator\loadImage(), eZCache\purgeTextToImageCache(), eZSubtreeCache\removeExpiryCacheFromDisk(), eZTemplateImageOperator\setLoadImage(), eZTemplateImageOperator\storeImage(), eZBinaryFileType\unserializeContentObjectAttribute(), eZMediaType\unserializeContentObjectAttribute(), and eZImageAliasHandler\updateAliasPath().
| $options |
$script->getOptions( "[u][skip-binary-files][skip-media-files][skip-images][r][n]", "", array( 'u' => 'Unclusterize', 'skip-binary-files' => 'Skip copying binary files', 'skip-media-files' => 'Skip copying media files', 'skip-images' => 'Skip copying images', 'r' => 'Remove files after copying', 'n' => 'Do not wait' ) )
Definition at line 121 of file clusterize.php.
| $remove = isset( $options['r'] ) |
Definition at line 133 of file clusterize.php.
Referenced by copyBinaryfilesToDB(), copyFilesFromDB(), copyImagesToDB(), copyMediafilesToDB(), and eZImageAliasHandler\createImageInformationNode().
eZScript::instance( array( 'description' => ( "eZ Publish (un)clusterize\n" . "Script for moving var_dir files from " . "filesystem to database and vice versa\n" . "\n" . "./bin/php/clusterize.php" ), 'use-session' => false, 'use-modules' => false, 'use-extensions' => true ) )
Definition at line 110 of file clusterize.php.
| $wait = !isset( $options['n'] ) |
Definition at line 137 of file clusterize.php.